bibliothek.gui.dock.station.span
Class DefaultSpanFactory

java.lang.Object
  extended by bibliothek.gui.dock.station.span.DefaultSpanFactory
All Implemented Interfaces:
SpanFactory

public class DefaultSpanFactory
extends Object
implements SpanFactory

The DefaultSpanFactory creates a most simple Span which does not use any kind of animation.

Author:
Benjamin Sigg

Constructor Summary
DefaultSpanFactory()
           
 
Method Summary
 Span create(SpanCallback callback)
          Creates a new Span.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSpanFactory

public DefaultSpanFactory()
Method Detail

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