|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.infonode.properties.propertymap.PropertyMapContainer net.infonode.docking.properties.WindowBarProperties
public class WindowBarProperties
Properties and property values for window bars.
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. |
private static WindowBarProperties[] |
DEFAULT_VALUES
|
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. |
java.awt.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()
Deprecated. Use removeSuperObject(WindowBarProperties) instead. |
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(java.awt.Color color)
Sets the resizer's drag indicator color. |
WindowBarProperties |
setMinimumWidth(int width)
Sets the minimum width of the window bar. |
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
public static final IntegerProperty CONTENT_PANEL_EDGE_RESIZE_DISTANCE
public static final IntegerProperty MINIMUM_WIDTH
public static final BooleanProperty CONTINUOUS_LAYOUT_ENABLED
public static final ColorProperty DRAG_INDICATOR_COLOR
public static final PropertyMapProperty TAB_WINDOW_PROPERTIES
private static WindowBarProperties[] DEFAULT_VALUES
Constructor Detail |
---|
public WindowBarProperties()
public WindowBarProperties(PropertyMap map)
map
- the property mappublic WindowBarProperties(WindowBarProperties inheritFrom)
inheritFrom
- the object from which to inherit property valuesMethod Detail |
---|
public static WindowBarProperties createDefault(Direction location)
location
- the location of the window bar
public WindowBarProperties addSuperObject(WindowBarProperties properties)
properties
- the object from which to inherit property values
public WindowBarProperties removeSuperObject()
removeSuperObject(WindowBarProperties)
instead.
public WindowBarProperties removeSuperObject(WindowBarProperties superObject)
superObject
- the super object to remove
public int getContentPanelEdgeResizeDistance()
public WindowBarProperties setContentPanelEdgeResizeEdgeDistance(int width)
width
- the distance from the content panel edge which inside the user can resize the content panel
public int getMinimumWidth()
public WindowBarProperties setMinimumWidth(int width)
width
- the minimum width of the window bar
public TabWindowProperties getTabWindowProperties()
public ComponentProperties getComponentProperties()
public WindowBarProperties setDragIndicatorColor(java.awt.Color color)
color
- the color for the drag indicator
public java.awt.Color getDragIndicatorColor()
public boolean getContinuousLayoutEnabled()
public WindowBarProperties setContinuousLayoutEnabled(boolean enabled)
enabled
- if true continuous layout is enabled
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |