|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DockFactory
This is a factory that creates a Dock for a given Dockable
and a given docking mode.
Information on using the dock factory is in How to Use Composite Docks in The Sanaware Developer Guide.
| Method Summary | |
|---|---|
Dock |
createDock(Dockable dockable,
int dockingMode)
Creates a dock for the given dockable. |
java.awt.Dimension |
getDockPreferredSize(Dockable dockable,
int dockingMode)
Gets the preferred size for the dock that will be created by this factory. |
void |
loadProperties(java.lang.String prefix,
java.util.Properties properties)
Sets the properties for this dock factory. |
void |
saveProperties(java.lang.String prefix,
java.util.Properties properties)
Saves the properties of this dock factory in the given properties object. |
| Method Detail |
|---|
Dock createDock(Dockable dockable,
int dockingMode)
dockable - The dockable for which the dock is created.dockingMode - The docking mode that is used for docking the dockable.
This integer should be a constant defined by DockingMode.
java.awt.Dimension getDockPreferredSize(Dockable dockable,
int dockingMode)
dockable - The dockable for which the dock is created.dockingMode - The docking mode that is used for docking the dockable.
This integer should be a constant defined by DockingMode.
void saveProperties(java.lang.String prefix,
java.util.Properties properties)
prefix - The prefix for the property names.properties - The properties object to which the properties should be added.
void loadProperties(java.lang.String prefix,
java.util.Properties properties)
prefix - The prefix of the names of the properties that have been intended for this dock factory.properties - The properties object that contains the properties for this dock factory. It can contain also
properties for other objects, but they will have another prefix.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||