bibliothek.gui.dock.themes.basic
Class NoSpanFactory

java.lang.Object
  extended by bibliothek.gui.dock.themes.basic.NoSpanFactory
All Implemented Interfaces:
SpanFactory

public class NoSpanFactory
extends Object
implements SpanFactory

This factory creates Spans that always have a size of 0.

Author:
Benjamin Sigg

Constructor Summary
NoSpanFactory()
           
 
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

NoSpanFactory

public NoSpanFactory()
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