bibliothek.gui.dock.themes
Class StationSpanFactoryValue
java.lang.Object
bibliothek.gui.dock.themes.StationThemeItemValue<SpanFactory>
bibliothek.gui.dock.themes.StationSpanFactoryValue
- All Implemented Interfaces:
- SpanFactory, SpanFactoryValue, UIValue<SpanFactory>
public abstract class StationSpanFactoryValue
- extends StationThemeItemValue<SpanFactory>
- implements SpanFactoryValue, SpanFactory
A StationSpanFactoryValue
offers access to a SpanFactory
that is read from a ThemeManager
.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KIND_STATION
public static final Path KIND_STATION
- What kind of
UIValue
this is
StationSpanFactoryValue
public StationSpanFactoryValue(String id,
DockStation station)
- Creates a new value.
- Parameters:
id
- the identifier of this value, used to read a resource from the ThemeManager
station
- the owner of this object
set
public void set(SpanFactory value)
- Description copied from interface:
UIValue
- Called when the underlying resource of this
UIValue
changes.
- Specified by:
set
in interface UIValue<SpanFactory>
- Overrides:
set
in class StationThemeItemValue<SpanFactory>
- Parameters:
value
- the new value
changed
protected abstract void changed()
- Called if the current
SpanFactory
changed.
create
public Span create(SpanCallback callback)
- Description copied from interface:
SpanFactory
- Creates a new
Span
.
- Specified by:
create
in interface SpanFactory
- Parameters:
callback
- allows interaction between Span
and DockStation
.
- Returns:
- the new
Span
, not null