|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.common.EmptyMultipleCDockableFactory<F>
F
- the type of dockable this factory handles.public abstract class EmptyMultipleCDockableFactory<F extends MultipleCDockable>
A factory that does not store anything.
Constructor Summary | |
---|---|
EmptyMultipleCDockableFactory()
|
Method Summary | |
---|---|
MultipleCDockableLayout |
create()
Creates a new, empty layout. |
abstract F |
createDockable()
Creates a new instance of the MultipleCDockable that is
represented by this factory. |
F |
read(MultipleCDockableLayout layout)
Creates a MultipleCDockable that gets its layout from layout . |
MultipleCDockableLayout |
write(F dockable)
Collects all the properties of dockable and writes them
into a new MultipleCDockableLayout . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyMultipleCDockableFactory()
Method Detail |
---|
public abstract F createDockable()
MultipleCDockable
that is
represented by this factory.
null
public MultipleCDockableLayout create()
MultipleCDockableFactory
read
-methods of MultipleCDockableLayout
.
create
in interface MultipleCDockableFactory<F extends MultipleCDockable,MultipleCDockableLayout>
public F read(MultipleCDockableLayout layout)
MultipleCDockableFactory
MultipleCDockable
that gets its layout from layout
.
read
in interface MultipleCDockableFactory<F extends MultipleCDockable,MultipleCDockableLayout>
layout
- the set of properties that can be used to create the new
CDockable
.
null
if the layout can't be readpublic MultipleCDockableLayout write(F dockable)
MultipleCDockableFactory
dockable
and writes them
into a new MultipleCDockableLayout
.
write
in interface MultipleCDockableFactory<F extends MultipleCDockable,MultipleCDockableLayout>
dockable
- the element whose properties should be collected
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |