Package net.infonode.docking.properties
Class SplitWindowProperties
java.lang.Object
net.infonode.properties.propertymap.PropertyMapContainer
net.infonode.docking.properties.SplitWindowProperties
Properties and property values for split windows.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanProperty
When enabled causes the windows to change size continuously while dragging the split window divider.static final BooleanProperty
When enabled the user can drag the SplitWindow divider to a new location.static final IntegerProperty
The split pane divider size.static final ColorProperty
The split pane drag indicator color.static final PropertyMapGroup
Property group containing all split window properties. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty property object.SplitWindowProperties
(SplitWindowProperties inheritFrom) Creates a property object that inherit values from another property object.Creates a property map containing the map. -
Method Summary
Modifier and TypeMethodDescriptionaddSuperObject
(SplitWindowProperties properties) Adds a super object from which property values are inherited.boolean
Returns true if continuous layout is enabled.boolean
Returns true if the user can drag the SplitWindow divider to a new location.int
Returns the split pane divider size.Returns the split pane drag indicator color.Deprecated.removeSuperObject
(SplitWindowProperties superObject) Removes a super object.setContinuousLayoutEnabled
(boolean enabled) Enables/disables continuous layout.setDividerLocationDragEnabled
(boolean enabled) When enabled the user can drag the SplitWindow divider to a new location.setDividerSize
(int size) Sets the split pane divider size.setDragIndicatorColor
(Color color) Sets the split pane drag indicator color.Methods inherited from class net.infonode.properties.propertymap.PropertyMapContainer
getMap
-
Field Details
-
PROPERTIES
Property group containing all split window properties. -
CONTINUOUS_LAYOUT_ENABLED
When enabled causes the windows to change size continuously while dragging the split window divider.- Since:
- IDW 1.1.0
-
DIVIDER_SIZE
The split pane divider size. -
DIVIDER_LOCATION_DRAG_ENABLED
When enabled the user can drag the SplitWindow divider to a new location.- Since:
- IDW 1.2.0
-
DRAG_INDICATOR_COLOR
The split pane drag indicator color.- Since:
- IDW 1.4.0
-
-
Constructor Details
-
SplitWindowProperties
public SplitWindowProperties()Creates an empty property object. -
SplitWindowProperties
Creates a property map containing the map.- Parameters:
map
- the property map
-
SplitWindowProperties
Creates a property object that inherit values from another property object.- Parameters:
inheritFrom
- the object from which to inherit property values
-
-
Method Details
-
addSuperObject
Adds a super object from which property values are inherited.- Parameters:
properties
- the object from which to inherit property values- Returns:
- this
-
removeSuperObject
Deprecated.UseremoveSuperObject(SplitWindowProperties)
instead.Removes the last added super object.- Returns:
- this
- Since:
- IDW 1.1.0
-
removeSuperObject
Removes a super object.- Parameters:
superObject
- the super object to remove- Returns:
- this
- Since:
- IDW 1.3.0
-
setDividerSize
Sets the split pane divider size.- Parameters:
size
- the split pane divider size- Returns:
- this
-
getDividerSize
public int getDividerSize()Returns the split pane divider size.- Returns:
- the split pane divider size
-
setDragIndicatorColor
Sets the split pane drag indicator color.- Parameters:
color
- the color for the drag indicator- Returns:
- this
- Since:
- IDW 1.4.0
-
getDragIndicatorColor
Returns the split pane drag indicator color.- Returns:
- the split pane drag indicator color
- Since:
- IDW 1.4.0
-
getContinuousLayoutEnabled
public boolean getContinuousLayoutEnabled()Returns true if continuous layout is enabled.- Returns:
- true if continuous layout is enabled
- Since:
- IDW 1.1.0
-
setContinuousLayoutEnabled
Enables/disables continuous layout.- Parameters:
enabled
- if true continuous layout is enabled- Returns:
- this
- Since:
- IDW 1.1.0
-
getDividerLocationDragEnabled
public boolean getDividerLocationDragEnabled()Returns true if the user can drag the SplitWindow divider to a new location.- Returns:
- true if the user can drag the SplitWindow divider to a new location
- Since:
- IDW 1.2.0
-
setDividerLocationDragEnabled
When enabled the user can drag the SplitWindow divider to a new location.- Parameters:
enabled
- if true the user can drag the SplitWindow divider to a new location- Returns:
- this
- Since:
- IDW 1.2.0
-
removeSuperObject(SplitWindowProperties)
instead.