|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.javadocking.model.DefaultFloatDockFactory
public class DefaultFloatDockFactory
This class creates a normal float dock with the constructor
FloatDock.FloatDock(Window, DockFactory)
if the childDockFactory
is not null. Otherwise
the constructor FloatDock.FloatDock(Window)
is used.
Constructor Summary | |
---|---|
DefaultFloatDockFactory()
Constructs a factory for creating FloatDock s. |
|
DefaultFloatDockFactory(DockFactory childDockFactory)
Constructs a factory for creating FloatDock s. |
Method Summary | |
---|---|
FloatDock |
createFloatDock(java.awt.Window owner)
Create a float dock with the given window as owner. |
DockFactory |
getChildDockFactory()
Gets the factory that will create child docks for the float docks created by this factory. |
void |
loadProperties(java.lang.String prefix,
java.util.Properties properties)
Sets the properties for this float dock factory. |
void |
saveProperties(java.lang.String prefix,
java.util.Properties properties)
Saves the properties of this float dock factory in the given properties object. |
void |
setChildDockFactory(DockFactory childDockFactory)
Sets the factory that will create child docks for the float docks created by this factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFloatDockFactory()
FloatDock
s.
public DefaultFloatDockFactory(DockFactory childDockFactory)
FloatDock
s.
The specified factory for creating child docks
is given to the created float docks.
childDockFactory
- The factory that will create child docks for the float docks
created by this factory.Method Detail |
---|
public FloatDock createFloatDock(java.awt.Window owner)
FloatDockFactory
createFloatDock
in interface FloatDockFactory
owner
- The owner window of the float dock.
public void loadProperties(java.lang.String prefix, java.util.Properties properties)
FloatDockFactory
loadProperties
in interface FloatDockFactory
prefix
- The prefix of the names of the properties that have been intended for this float dock factory.properties
- The properties object that contains the properties for this float dock factory. It can contain also
properties for other objects, but they will have another prefix.public void saveProperties(java.lang.String prefix, java.util.Properties properties)
FloatDockFactory
saveProperties
in interface FloatDockFactory
prefix
- The prefix for the property names.properties
- The properties object to which the properties should be added.public DockFactory getChildDockFactory()
public void setChildDockFactory(DockFactory childDockFactory)
childDockFactory
- The factory that will create child docks for the float docks
created by this factory.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |