|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.util.AbstractUIScheme<Icon,DockIcon,DockIconBridge> bibliothek.gui.dock.util.icon.AbstractIconScheme
public abstract class AbstractIconScheme
This abstract implementation of an UIScheme
offers support for transfering values
from the DockProperties
to the IconManager
.
Constructor Summary | |
---|---|
AbstractIconScheme(DockController controller)
Creates a new scheme |
Method Summary | |
---|---|
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 . |
Methods inherited from class bibliothek.gui.dock.util.AbstractUIScheme |
---|
addListener, fire, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.util.UIScheme |
---|
getBridge, getResource |
Constructor Detail |
---|
public AbstractIconScheme(DockController controller)
controller
- the controller in whose realm this scheme will be usedMethod Detail |
---|
public 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 null
public void install(UIProperties<Icon,DockIcon,DockIconBridge> properties)
UIScheme
properties
.
properties
- the owner of this schemepublic void uninstall(UIProperties<Icon,DockIcon,DockIconBridge> properties)
UIScheme
properties
.
properties
- an old client of this scheme
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |