|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.util.manager.Object
qx.theme.manager.Appearance
public class Appearance
This singleton manages the current theme
Constructor Summary | |
---|---|
Appearance()
|
Method Summary | |
---|---|
void |
_applyAppearanceTheme(Theme value,
Theme old)
Applies changes of the property value of the property appearanceTheme . |
Theme |
getAppearanceTheme()
Returns the (computed) value of the property appearanceTheme . |
void |
initAppearanceTheme(Theme arg)
Calls the apply method and dispatches the change event of the property appearanceTheme
with the default value defined by the class developer. |
void |
resetAppearanceTheme()
Resets the user value of the property appearanceTheme . |
void |
setAppearanceTheme(Theme arg)
Sets the user value of the property appearanceTheme . |
java.lang.Object |
styleFrom(java.lang.String id,
java.lang.Object states)
Get the result of the “initial” function for a given id |
java.lang.Object |
styleFromTheme(java.lang.Object theme,
java.lang.String id,
java.lang.Object states)
Get the result of the “state” function for a given id and states |
void |
syncAppearanceTheme()
Sync dependend objects with internal database |
Methods inherited from class qx.util.manager.Object |
---|
add, disableAll, enableAll, get, getAll, has, remove |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Appearance()
Method Detail |
---|
public void _applyAppearanceTheme(Theme value, Theme old)
Applies changes of the property value of the property appearanceTheme
.
For further details take a look at the property definition: _applyAppearanceTheme(qx.Theme, qx.Theme)
.
public Theme getAppearanceTheme()
Returns the (computed) value of the property appearanceTheme
.
For further details take a look at the property definition: appearanceTheme
.
public void initAppearanceTheme(Theme arg)
Calls the apply method and dispatches the change event of the property appearanceTheme
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: appearanceTheme
.
public void resetAppearanceTheme()
Resets the user value of the property appearanceTheme
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: appearanceTheme
.
public void setAppearanceTheme(Theme arg)
Sets the user value of the property appearanceTheme
.
For further details take a look at the property definition: appearanceTheme
.
public java.lang.Object styleFrom(java.lang.String id, java.lang.Object states)
Get the result of the “initial” function for a given id
public java.lang.Object styleFromTheme(java.lang.Object theme, java.lang.String id, java.lang.Object states)
Get the result of the “state” function for a given id and states
public void syncAppearanceTheme()
Sync dependend objects with internal database
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |