public abstract class AbstractIconScheme extends AbstractUIScheme<Icon,DockIcon,DockIconBridge>
UIScheme offers support for transferring values
from the DockProperties to the IconManager.| Constructor and Description |
|---|
AbstractIconScheme(DockController controller)
Creates a new scheme
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
changed(String id,
Icon icon)
Called if property accessed through a
PropertyKey changed its value. |
void |
install(UIProperties<Icon,DockIcon,DockIconBridge> properties)
Informs this scheme that it is now used by
properties. |
void |
link(PropertyKey<Icon> key,
String id)
Creates a link between the value of
key and the entry of identifier
id. |
void |
uninstall(UIProperties<Icon,DockIcon,DockIconBridge> properties)
Informs this scheme that it is no longer used by
properties. |
void |
unlink(String id)
Removes the link between the entry for
id and a PropertyKey. |
addListener, fire, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBridge, getResourcepublic AbstractIconScheme(DockController controller)
controller - the controller in whose realm this scheme will be usedpublic void link(PropertyKey<Icon> key, String id)
key and the entry of identifier
id.key - the property to observeid - the identifier of the value to setpublic void unlink(String id)
id and a PropertyKey.id - the link to removeprotected abstract void changed(String id, Icon icon)
PropertyKey changed its value.id - the identifier of the value that changedicon - the new value, can be nullpublic void install(UIProperties<Icon,DockIcon,DockIconBridge> properties)
UISchemeproperties.properties - the owner of this schemepublic void uninstall(UIProperties<Icon,DockIcon,DockIconBridge> properties)
UISchemeproperties.properties - an old client of this schemeCopyright © 2017 Docking Frames. All rights reserved.