|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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(java.lang.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(java.lang.String id, Path kind, TypedUIProperties.Type<V> type, DockStation station)
id
- the identifier used for retrieving a resource of ThemeManager
kind
- 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()
null
public void setController(DockController controller)
UIValue
to register itself on controller
to
read the current value.
controller
- the controller to observer, can be null
public void setDelegate(V delegate)
delegate
- the delegate or null
public void set(V value)
UIValue
UIValue
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 |