public abstract class StationSpanFactoryValue extends StationThemeItemValue<SpanFactory> implements SpanFactoryValue, SpanFactory
Modifier and Type | Field and Description |
---|---|
static Path |
KIND_STATION
What kind of
UIValue this is |
KIND_SPAN_FACTORY
Constructor and Description |
---|
StationSpanFactoryValue(java.lang.String id,
DockStation station)
Creates a new value.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
changed()
Called if the current
SpanFactory changed. |
Span |
create(SpanCallback callback)
Creates a new
Span . |
void |
set(SpanFactory value)
Called when the underlying resource of this
UIValue changes. |
get, getDelegate, getStation, setController, setDelegate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStation
public StationSpanFactoryValue(java.lang.String id, DockStation station)
id
- the identifier of this value, used to read a resource from the ThemeManager
station
- the owner of this objectpublic void set(SpanFactory value)
UIValue
UIValue
changes.set
in interface UIValue<SpanFactory>
set
in class StationThemeItemValue<SpanFactory>
value
- the new valueprotected abstract void changed()
SpanFactory
changed.public Span create(SpanCallback callback)
SpanFactory
Span
.create
in interface SpanFactory
callback
- allows interaction between Span
and DockStation
.Span
, not null