public abstract class StyleRuleset<T extends StyleRule>
extends java.lang.Object
StyleRule
s for multiple ScreenSize
sConstructor and Description |
---|
StyleRuleset() |
Modifier and Type | Method and Description |
---|---|
abstract T |
getStyleRule(ScreenSize screenSize) |
protected T |
getStyleRule(ScreenSize screenSize,
java.util.Map<ScreenSize,T> rules) |
abstract void |
loadDependencies(UiTheme theme,
com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> dependencies) |
protected void |
loadDependencies(UiTheme theme,
com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> dependencies,
java.util.Map<ScreenSize,T> rules) |
abstract void |
prepareAssets(UiTheme theme,
com.badlogic.gdx.assets.loaders.FileHandleResolver fileHandleResolver,
com.badlogic.gdx.assets.AssetManager assetManager) |
protected void |
prepareAssets(UiTheme theme,
com.badlogic.gdx.assets.loaders.FileHandleResolver fileHandleResolver,
com.badlogic.gdx.assets.AssetManager assetManager,
java.util.Map<ScreenSize,T> rules) |
abstract void |
putStyleRule(ScreenSize screenSize,
T rule) |
abstract void |
validate(UiTheme theme) |
protected void |
validate(UiTheme theme,
java.util.Map<ScreenSize,T> rules) |
public abstract T getStyleRule(ScreenSize screenSize)
public abstract void putStyleRule(ScreenSize screenSize, T rule)
public abstract void validate(UiTheme theme)
public abstract void loadDependencies(UiTheme theme, com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> dependencies)
public abstract void prepareAssets(UiTheme theme, com.badlogic.gdx.assets.loaders.FileHandleResolver fileHandleResolver, com.badlogic.gdx.assets.AssetManager assetManager)
protected T getStyleRule(ScreenSize screenSize, java.util.Map<ScreenSize,T> rules)
protected void validate(UiTheme theme, java.util.Map<ScreenSize,T> rules)
protected void loadDependencies(UiTheme theme, com.badlogic.gdx.utils.Array<com.badlogic.gdx.assets.AssetDescriptor> dependencies, java.util.Map<ScreenSize,T> rules)
protected void prepareAssets(UiTheme theme, com.badlogic.gdx.assets.loaders.FileHandleResolver fileHandleResolver, com.badlogic.gdx.assets.AssetManager assetManager, java.util.Map<ScreenSize,T> rules)