public class SplitWindowProperties extends PropertyMapContainer
Modifier and Type | Field and Description |
---|---|
static BooleanProperty |
CONTINUOUS_LAYOUT_ENABLED
When enabled causes the windows to change size continuously while dragging the split window divider.
|
static BooleanProperty |
DIVIDER_LOCATION_DRAG_ENABLED
When enabled the user can drag the SplitWindow divider to a new location.
|
static IntegerProperty |
DIVIDER_SIZE
The split pane divider size.
|
static ColorProperty |
DRAG_INDICATOR_COLOR
The split pane drag indicator color.
|
static PropertyMapGroup |
PROPERTIES
Property group containing all split window properties.
|
Constructor and Description |
---|
SplitWindowProperties()
Creates an empty property object.
|
SplitWindowProperties(PropertyMap map)
Creates a property map containing the map.
|
SplitWindowProperties(SplitWindowProperties inheritFrom)
Creates a property object that inherit values from another property object.
|
Modifier and Type | Method and Description |
---|---|
SplitWindowProperties |
addSuperObject(SplitWindowProperties properties)
Adds a super object from which property values are inherited.
|
boolean |
getContinuousLayoutEnabled()
Returns true if continuous layout is enabled.
|
boolean |
getDividerLocationDragEnabled()
Returns true if the user can drag the SplitWindow divider to a new location.
|
int |
getDividerSize()
Returns the split pane divider size.
|
java.awt.Color |
getDragIndicatorColor()
Returns the split pane drag indicator color.
|
SplitWindowProperties |
removeSuperObject()
Deprecated.
Use
removeSuperObject(SplitWindowProperties) instead. |
SplitWindowProperties |
removeSuperObject(SplitWindowProperties superObject)
Removes a super object.
|
SplitWindowProperties |
setContinuousLayoutEnabled(boolean enabled)
Enables/disables continuous layout.
|
SplitWindowProperties |
setDividerLocationDragEnabled(boolean enabled)
When enabled the user can drag the SplitWindow divider to a new location.
|
SplitWindowProperties |
setDividerSize(int size)
Sets the split pane divider size.
|
SplitWindowProperties |
setDragIndicatorColor(java.awt.Color color)
Sets the split pane drag indicator color.
|
getMap
public static final PropertyMapGroup PROPERTIES
public static final BooleanProperty CONTINUOUS_LAYOUT_ENABLED
public static final IntegerProperty DIVIDER_SIZE
public static final BooleanProperty DIVIDER_LOCATION_DRAG_ENABLED
public static final ColorProperty DRAG_INDICATOR_COLOR
public SplitWindowProperties()
public SplitWindowProperties(PropertyMap map)
map
- the property mappublic SplitWindowProperties(SplitWindowProperties inheritFrom)
inheritFrom
- the object from which to inherit property valuespublic SplitWindowProperties addSuperObject(SplitWindowProperties properties)
properties
- the object from which to inherit property valuespublic SplitWindowProperties removeSuperObject()
removeSuperObject(SplitWindowProperties)
instead.public SplitWindowProperties removeSuperObject(SplitWindowProperties superObject)
superObject
- the super object to removepublic SplitWindowProperties setDividerSize(int size)
size
- the split pane divider sizepublic int getDividerSize()
public SplitWindowProperties setDragIndicatorColor(java.awt.Color color)
color
- the color for the drag indicatorpublic java.awt.Color getDragIndicatorColor()
public boolean getContinuousLayoutEnabled()
public SplitWindowProperties setContinuousLayoutEnabled(boolean enabled)
enabled
- if true continuous layout is enabledpublic boolean getDividerLocationDragEnabled()
public SplitWindowProperties setDividerLocationDragEnabled(boolean enabled)
enabled
- if true the user can drag the SplitWindow divider to a new location