| java.lang.Object net.suberic.util.swing.ThemeManager
Method Summary | |
public void | addItemListListener(ItemListChangeListener newListener) This adds a listener. | public void | applyTheme(MetalTheme theme, java.awt.Component component) Applies the given Theme to the component. | public Item | createItem(VariableBundle sourceBundle, String resourceString, String itemId) Creates an item from the given sourceBundle, resourceString, and itemId. | public void | fireItemListChanged(ItemListChangeEvent e) This notifies all listeners that the Theme list has changed. | public MetalTheme | getDefaultTheme() Gets the default configuration for the system. | public MetalTheme | getTheme(String configID) Gets the named configuration, or null if no such configuration
exists. | public void | itemListChanged(ItemListChangeEvent e) As defined in net.suberic.util.ItemListChangeListener.
This listens for ItemListChangeEvents, which result from changes to the
resourceString property. | public void | removeItemListListener(ItemListChangeListener oldListener) This removes a listener. | public void | updateUI(ThemeSupporter ui, java.awt.Component component) updates the given Component with the configuration from the given
ThemeSupporter. | public void | updateUI(ThemeSupporter ui, java.awt.Component component, boolean force) updates the given Component with the configuration from the given
ThemeSupporter. | public void | valueChanged(String changedValue) Called when a ui value changes. |
createItem | public Item createItem(VariableBundle sourceBundle, String resourceString, String itemId)(Code) | | Creates an item from the given sourceBundle, resourceString, and itemId.
Creates a new Theme object.
|
fireItemListChanged | public void fireItemListChanged(ItemListChangeEvent e)(Code) | | This notifies all listeners that the Theme list has changed.
|
getDefaultTheme | public MetalTheme getDefaultTheme()(Code) | | Gets the default configuration for the system.
|
getTheme | public MetalTheme getTheme(String configID)(Code) | | Gets the named configuration, or null if no such configuration
exists.
|
itemListChanged | public void itemListChanged(ItemListChangeEvent e)(Code) | | As defined in net.suberic.util.ItemListChangeListener.
This listens for ItemListChangeEvents, which result from changes to the
resourceString property. The result is just that the event is passed
to listeners to this object.
|
valueChanged | public void valueChanged(String changedValue)(Code) | | Called when a ui value changes.
|
|
|