|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.themes.StationThemeItemValue<V>
V - the kind of value this UIValue handlespublic class StationThemeItemValue<V>
A default implementation of an UIValue that reads a item from
a ThemeManager.
| Constructor Summary | |
|---|---|
StationThemeItemValue(String id,
Path kind,
TypedUIProperties.Type<V> type,
DockStation station)
Creates a new object. |
|
| Method Summary | |
|---|---|
V |
get()
Gets the resource that is currently used. |
V |
getDelegate()
Gets the delegate of this wrapper. |
DockStation |
getStation()
Gets the station that owns this UIValue. |
void |
set(V value)
Called when the underlying resource of this UIValue changes. |
void |
setController(DockController controller)
Allows this UIValue to register itself on controller to
read the current value. |
void |
setDelegate(V delegate)
Sets the delegate of this wrapper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StationThemeItemValue(String id,
Path kind,
TypedUIProperties.Type<V> type,
DockStation station)
id - the identifier used for retrieving a resource of ThemeManagerkind - what kind of UIValue this istype - what kind of value this UIValue handlesstation - the owner of this object, not null| Method Detail |
|---|
public DockStation getStation()
UIValue.
public V getDelegate()
nullpublic void setController(DockController controller)
UIValue to register itself on controller to
read the current value.
controller - the controller to observer, can be nullpublic void setDelegate(V delegate)
delegate - the delegate or nullpublic void set(V value)
UIValueUIValue changes.
set in interface UIValue<V>value - the new valuepublic V get()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||