bibliothek.gui.dock.common
Class NullMultipleCDockableFactory

java.lang.Object
  extended by bibliothek.gui.dock.common.EmptyMultipleCDockableFactory<MultipleCDockable>
      extended by bibliothek.gui.dock.common.NullMultipleCDockableFactory
All Implemented Interfaces:
MultipleCDockableFactory<MultipleCDockable,MultipleCDockableLayout>

public class NullMultipleCDockableFactory
extends EmptyMultipleCDockableFactory<MultipleCDockable>

This specialized MultipleCDockableFactory does not create new MultipleCDockables at all. This is the factory that is used for MultipleCDockables whose MultipleCDockable.getFactory() returns null.

Author:
Benjamin Sigg

Field Summary
static NullMultipleCDockableFactory NULL
          the only instance of this factory
 
Method Summary
 MultipleCDockable createDockable()
          Creates a new instance of the MultipleCDockable that is represented by this factory.
 
Methods inherited from class bibliothek.gui.dock.common.EmptyMultipleCDockableFactory
create, match, read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final NullMultipleCDockableFactory NULL
the only instance of this factory

Method Detail

createDockable

public MultipleCDockable createDockable()
Description copied from class: EmptyMultipleCDockableFactory
Creates a new instance of the MultipleCDockable that is represented by this factory.

Specified by:
createDockable in class EmptyMultipleCDockableFactory<MultipleCDockable>
Returns:
the new dockable, might be null