net.infonode.docking.properties
public class WindowBarProperties extends PropertyMapContainer
Version: $Revision: 1.33 $
Field Summary | |
---|---|
static PropertyMapProperty | COMPONENT_PROPERTIES
The window bar component property values. |
static IntegerProperty | CONTENT_PANEL_EDGE_RESIZE_DISTANCE
Inside this distance from the content panel edge the user can resize the content panel. |
static BooleanProperty | CONTINUOUS_LAYOUT_ENABLED
When enabled causes the windows to change size continuously while dragging the split window divider.
|
static ColorProperty | DRAG_INDICATOR_COLOR
The drag indicator color.
|
static IntegerProperty | MINIMUM_WIDTH
The minimum width of the window bar. |
static PropertyMapGroup | PROPERTIES
Property group containing all window bar properties. |
static PropertyMapProperty | TAB_WINDOW_PROPERTIES
Properties for the tab window used by this window bar. |
Constructor Summary | |
---|---|
WindowBarProperties()
Creates an empty property object. | |
WindowBarProperties(PropertyMap map)
Creates a property object containing the map.
| |
WindowBarProperties(WindowBarProperties inheritFrom)
Creates a property object that inherit values from another property object.
|
Method Summary | |
---|---|
WindowBarProperties | addSuperObject(WindowBarProperties properties)
Adds a super object from which property values are inherited.
|
static WindowBarProperties | createDefault(Direction location)
Creates a property object which inherits the default property values.
|
ComponentProperties | getComponentProperties()
Returns the property values for the window bar component.
|
int | getContentPanelEdgeResizeDistance()
Returns the distance from the content panel edge which inside the user can resize the content panel.
|
boolean | getContinuousLayoutEnabled()
Returns true if continuous layout is enabled.
|
Color | getDragIndicatorColor()
Returns the resizer's drag indicator color.
|
int | getMinimumWidth()
Returns the minimum width of the window bar.
|
TabWindowProperties | getTabWindowProperties()
Returns the tab window property values.
|
WindowBarProperties | removeSuperObject()
Removes the last added super object.
|
WindowBarProperties | removeSuperObject(WindowBarProperties superObject)
Removes a super object.
|
WindowBarProperties | setContentPanelEdgeResizeEdgeDistance(int width)
Sets the distance from the content panel edge which inside the user can resize the content panel.
|
WindowBarProperties | setContinuousLayoutEnabled(boolean enabled)
Enables/disables continuous layout.
|
WindowBarProperties | setDragIndicatorColor(Color color)
Sets the resizer's drag indicator color.
|
WindowBarProperties | setMinimumWidth(int width)
Sets the minimum width of the window bar.
|
Since: IDW 1.4.0
Since: IDW 1.4.0
Parameters: map the property map
Parameters: inheritFrom the object from which to inherit property values
Parameters: properties the object from which to inherit property values
Returns: this
Parameters: location the location of the window bar
Returns: a property object which inherits the default property values
Returns: the property values for the window bar component
Returns: the distance from the content panel edge which inside the user can resize the content panel
Returns: true if continuous layout is enabled
Since: IDW 1.4.0
Returns: the drag indicator color
Since: IDW 1.4.0
Returns: the minimum width of the window bar
Returns: the tab window property values
Deprecated: Use removeSuperObject instead.
Removes the last added super object.Returns: this
Since: IDW 1.1.0
Parameters: superObject the super object to remove
Returns: this
Since: IDW 1.3.0
Parameters: width the distance from the content panel edge which inside the user can resize the content panel
Returns: this
Parameters: enabled if true continuous layout is enabled
Returns: this
Since: IDW 1.4.0
Parameters: color the color for the drag indicator
Returns: this
Since: IDW 1.4.0
Parameters: width the minimum width of the window bar
Returns: this