|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.properties.propertymap.PropertyMapContainer
net.infonode.docking.properties.FloatingWindowProperties
public class FloatingWindowProperties
Properties and property values for floating windows.
Field Summary | |
---|---|
static BooleanProperty |
AUTO_CLOSE_ENABLED
Auto close enabled |
static PropertyMapProperty |
COMPONENT_PROPERTIES
Properties for the component |
static PropertyMapGroup |
PROPERTIES
Property group containing all floating window properties. |
static PropertyMapProperty |
SHAPED_PANEL_PROPERTIES
Properties for the shaped panel |
static BooleanProperty |
USE_FRAME
If true the floating window will be created as a JFrame, otherwise a JDialog will be created. |
Constructor Summary | |
---|---|
FloatingWindowProperties()
Creates an empty property object. |
|
FloatingWindowProperties(FloatingWindowProperties inheritFrom)
Creates a property object that inherit values from another property object. |
|
FloatingWindowProperties(PropertyMap map)
Creates a property map containing the map. |
Method Summary | |
---|---|
FloatingWindowProperties |
addSuperObject(FloatingWindowProperties properties)
Adds a super object from which property values are inherited. |
boolean |
getAutoCloseEnabled()
Returns true if the floating window should be automatically closed when it doesn't contain any child window. |
ComponentProperties |
getComponentProperties()
Gets the component properties |
ShapedPanelProperties |
getShapedPanelProperties()
Gets the shaped panel properties |
boolean |
getUseFrame()
Returns true if the floating window should be created as a JFrame, otherwise a JDialog is used. |
FloatingWindowProperties |
removeSuperObject(FloatingWindowProperties superObject)
Removes a super object. |
FloatingWindowProperties |
setAutoCloseEnabled(boolean enabled)
Enables/disables if the floating window should be automatically closed when it doesn't contain any child window. |
FloatingWindowProperties |
setUseFrame(boolean enabled)
Set to true if the floating window should be created as a JFrame, otherwise a JDialog is used. |
Methods inherited from class net.infonode.properties.propertymap.PropertyMapContainer |
---|
getMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PropertyMapGroup PROPERTIES
public static final PropertyMapProperty COMPONENT_PROPERTIES
getComponentProperties()
public static final PropertyMapProperty SHAPED_PANEL_PROPERTIES
getShapedPanelProperties()
public static final BooleanProperty AUTO_CLOSE_ENABLED
public static final BooleanProperty USE_FRAME
Constructor Detail |
---|
public FloatingWindowProperties()
public FloatingWindowProperties(PropertyMap map)
map
- the property mappublic FloatingWindowProperties(FloatingWindowProperties inheritFrom)
inheritFrom
- the object from which to inherit property valuesMethod Detail |
---|
public FloatingWindowProperties addSuperObject(FloatingWindowProperties properties)
properties
- the object from which to inherit property values
public FloatingWindowProperties removeSuperObject(FloatingWindowProperties superObject)
superObject
- the super object to remove
public ComponentProperties getComponentProperties()
public ShapedPanelProperties getShapedPanelProperties()
public boolean getAutoCloseEnabled()
public FloatingWindowProperties setAutoCloseEnabled(boolean enabled)
enabled
- true for auto close, otherwise disabled
public boolean getUseFrame()
public FloatingWindowProperties setUseFrame(boolean enabled)
enabled
- true if a JFrame should be used
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |