com.javadocking.model
Interface FloatDockFactory

All Known Implementing Classes:
DefaultFloatDockFactory

public interface FloatDockFactory

This class creates FloatDocks.

Author:
Heidi Rakels.

Method Summary
 FloatDock createFloatDock(java.awt.Window owner)
          Create a float dock with the given window as owner.
 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.
 

Method Detail

createFloatDock

FloatDock createFloatDock(java.awt.Window owner)
Create a float dock with the given window as owner.

Parameters:
owner - The owner window of the float dock.
Returns:
The created float dock.

saveProperties

void saveProperties(java.lang.String prefix,
                    java.util.Properties properties)
Saves the properties of this float dock factory in the given properties object. The property names for this float dock factory should start with the given prefix.

Parameters:
prefix - The prefix for the property names.
properties - The properties object to which the properties should be added.

loadProperties

void loadProperties(java.lang.String prefix,
                    java.util.Properties properties)
Sets the properties for this float dock factory. The properties can be found in the given properties object and the property names for this float dock factory start with the given prefix.

Parameters:
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.