qx.theme.manager
Class Appearance

java.lang.Object
  extended by qx.core.Object
      extended by qx.core.Target
          extended by qx.util.manager.Object
              extended by qx.theme.manager.Appearance

public class Appearance
extends Object

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

Appearance

public Appearance()
Method Detail

_applyAppearanceTheme

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).


getAppearanceTheme

public Theme getAppearanceTheme()

Returns the (computed) value of the property appearanceTheme.

For further details take a look at the property definition: appearanceTheme.


initAppearanceTheme

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.


resetAppearanceTheme

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.


setAppearanceTheme

public void setAppearanceTheme(Theme arg)

Sets the user value of the property appearanceTheme.

For further details take a look at the property definition: appearanceTheme.


styleFrom

public java.lang.Object styleFrom(java.lang.String id,
                                  java.lang.Object states)

Get the result of the “initial” function for a given id


styleFromTheme

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


syncAppearanceTheme

public void syncAppearanceTheme()

Sync dependend objects with internal database



Copyright © 2008 1&1. All Rights Reserved.