bibliothek.gui.dock.station.span
Interface SpanFactory

All Known Implementing Classes:
BasicSpanFactory, DefaultSpanFactory, NoSpanFactory, StationSpanFactoryValue

public interface SpanFactory

A SpanFactory creates new Spans.
The current SpanFactory can be configured using the ThemeManager or using DockTheme.SPAN_FACTORY.

Author:
Benjamin Sigg

Method Summary
 Span create(SpanCallback callback)
          Creates a new Span.
 

Method Detail

create

Span create(SpanCallback callback)
Creates a new Span.

Parameters:
callback - allows interaction between Span and DockStation.
Returns:
the new Span, not null