bibliothek.gui.dock.layout
Interface AdjacentDockFactory<L>

Type Parameters:
L - the kind of object this factory uses as intermediate format
All Superinterfaces:
DockConverter<DockElement,PerspectiveElement,L>
All Known Implementing Classes:
RootStationAdjacentFactory

public interface AdjacentDockFactory<L>
extends DockConverter<DockElement,PerspectiveElement,L>

An object that works together with a DockFactory, this object decides on its own whether it wants to store information about a DockElement or not.

Author:
Benjamin Sigg

Method Summary
 boolean interested(DockElement element)
          Tells whether this factory is interested in storing information for element.
 boolean interested(PerspectiveElement element)
          Tells whether this factory is interested in storing information for element.
 
Methods inherited from interface bibliothek.gui.dock.layout.DockConverter
getID, getLayout, getPerspectiveLayout, read, read, setLayout, setLayout, write, write
 

Method Detail

interested

boolean interested(DockElement element)
Tells whether this factory is interested in storing information for element.

Parameters:
element - the element which might be stored by this factory
Returns:
true if the factory wants to store element

interested

boolean interested(PerspectiveElement element)
Tells whether this factory is interested in storing information for element.

Parameters:
element - the element which might be stored by this factory
Returns:
true if the factory wants to store element