|
||||||||||
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.RootWindowProperties
public class RootWindowProperties
Properties and property values for a root window.
Field Summary | |
---|---|
static IntegerProperty |
ABORT_DRAG_KEY
Key code for the key that aborts a drag. |
static PropertyMapProperty |
COMPONENT_PROPERTIES
The root window component property values. |
private static RootWindowProperties |
DEFAULT_VALUES
|
static int |
DEFAULT_WINDOW_TAB_BUTTON_ICON_SIZE
The size of the default window tab button icons. |
static PropertyMapProperty |
DOCKING_WINDOW_PROPERTIES
Default property values for DockingWindows inside this root window. |
static BooleanProperty |
DOUBLE_CLICK_RESTORES_WINDOW
Double clicking on a minimized window in a window bar restores it. |
static PropertyMapProperty |
DRAG_LABEL_PROPERTIES
The window drag label property values. |
static IntegerProperty |
DRAG_RECTANGLE_BORDER_WIDTH
The width of the drag rectangle border. |
static PropertyMapProperty |
DRAG_RECTANGLE_SHAPED_PANEL_PROPERTIES
Shaped panel properties for the drag rectangle. |
static IntegerProperty |
EDGE_SPLIT_DISTANCE
Inside this distance from the window edge a mouse drag will trigger a window split. |
static PropertyMapProperty |
FLOATING_WINDOW_PROPERTIES
Default property values for floating windows inside this root window. |
static PropertyMapGroup |
PROPERTIES
Property group containing all root window properties. |
static BooleanProperty |
RECURSIVE_TABS_ENABLED
If true, makes it possible for the user to create tab windows inside other tab windows when dragging windows. |
static PropertyMapProperty |
SHAPED_PANEL_PROPERTIES
The root window shaped panel property values. |
static PropertyMapProperty |
SPLIT_WINDOW_PROPERTIES
Default property values for split windows inside this root window. |
static PropertyMapProperty |
TAB_WINDOW_PROPERTIES
Default property values for tab windows inside this root window. |
static PropertyMapProperty |
VIEW_PROPERTIES
Default property values for views inside this root window. |
static PropertyMapProperty |
WINDOW_AREA_PROPERTIES
The window area component property values. |
static PropertyMapProperty |
WINDOW_AREA_SHAPED_PANEL_PROPERTIES
The window area shaped panel property values. |
static PropertyMapProperty |
WINDOW_BAR_PROPERTIES
The default window bar property values. |
Constructor Summary | |
---|---|
RootWindowProperties()
Creates an empty property object. |
|
RootWindowProperties(PropertyMap map)
Creates a property object containing the map. |
|
RootWindowProperties(RootWindowProperties inheritFrom)
Creates a property object which inherits property values from another object. |
Method Summary | |
---|---|
RootWindowProperties |
addSuperObject(RootWindowProperties properties)
Adds a super object from which property values are inherited. |
static RootWindowProperties |
createDefault()
Creates a property object that inherits default property values. |
int |
getAbortDragKey()
Returns the key code for the key that aborts a drag. |
ComponentProperties |
getComponentProperties()
Returns the property values for the root window component. |
DockingWindowProperties |
getDockingWindowProperties()
Returns the default property values for docking windows. |
boolean |
getDoubleClickRestoresWindow()
Returns true if double clicking on a window tab in a window bar restores the window. |
ComponentProperties |
getDragLabelProperties()
Returns the property values for the drag label. |
int |
getDragRectangleBorderWidth()
Returns the border width of the drag rectangle. |
ShapedPanelProperties |
getDragRectangleShapedPanelProperties()
Shaped panel properties for the drag rectangle. |
int |
getEdgeSplitDistance()
Returns the distance from the window edge inside which a mouse drag will trigger a window split. |
FloatingWindowProperties |
getFloatingWindowProperties()
Returns the default property values for floating windows. |
boolean |
getRecursiveTabsEnabled()
Returns true if the user is allowed to place tab windows inside other tab windows. |
ShapedPanelProperties |
getShapedPanelProperties()
Returns the property values for the root window shaped panel. |
SplitWindowProperties |
getSplitWindowProperties()
Returns the default property values for split windows. |
TabWindowProperties |
getTabWindowProperties()
Returns the default property values for tab windows. |
ViewProperties |
getViewProperties()
Returns the default property values for views. |
ComponentProperties |
getWindowAreaProperties()
Returns the component property values for the window area component. |
ShapedPanelProperties |
getWindowAreaShapedPanelProperties()
Returns the shaped panel property values for the window area component. |
WindowBarProperties |
getWindowBarProperties()
Returns the default window bar property values. |
RootWindowProperties |
removeSuperObject()
Deprecated. Use removeSuperObject(RootWindowProperties) instead. |
RootWindowProperties |
removeSuperObject(RootWindowProperties superObject)
Removes a super object. |
RootWindowProperties |
replaceSuperObject(RootWindowProperties oldSuperObject,
RootWindowProperties newSuperObject)
Replaces a super object. |
RootWindowProperties |
setAbortDragKey(int key)
Sets the key code for the key that aborts a drag. |
RootWindowProperties |
setDoubleClickRestoresWindow(boolean enabled)
If set to true, double clicking on a window tab in a window bar restores the window. |
RootWindowProperties |
setDragRectangleBorderWidth(int width)
Sets the border width of the drag rectangle. |
RootWindowProperties |
setEdgeSplitDistance(int size)
Sets the distance from the window edge inside which a mouse drag will trigger a window split. |
private static void |
setFloatingWindowProperties()
|
RootWindowProperties |
setRecursiveTabsEnabled(boolean enabled)
If set to true, the user is allowed to place tab windows inside other tab windows. |
private static void |
setTabbedPanelProperties()
|
private static void |
setTabProperties()
|
private static void |
setViewTitleBarProperties()
|
private static void |
setWindowBarProperties()
|
private static void |
updateFont()
|
private static void |
updateViewTitleBarProperties()
|
private static void |
updateVisualProperties()
|
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 int DEFAULT_WINDOW_TAB_BUTTON_ICON_SIZE
public static final PropertyMapGroup PROPERTIES
public static final PropertyMapProperty COMPONENT_PROPERTIES
public static final PropertyMapProperty SHAPED_PANEL_PROPERTIES
public static final PropertyMapProperty WINDOW_AREA_PROPERTIES
public static final PropertyMapProperty WINDOW_AREA_SHAPED_PANEL_PROPERTIES
public static final PropertyMapProperty DRAG_RECTANGLE_SHAPED_PANEL_PROPERTIES
public static final IntegerProperty DRAG_RECTANGLE_BORDER_WIDTH
public static final PropertyMapProperty DRAG_LABEL_PROPERTIES
public static final PropertyMapProperty DOCKING_WINDOW_PROPERTIES
public static final PropertyMapProperty TAB_WINDOW_PROPERTIES
public static final PropertyMapProperty SPLIT_WINDOW_PROPERTIES
public static final PropertyMapProperty FLOATING_WINDOW_PROPERTIES
public static final PropertyMapProperty VIEW_PROPERTIES
public static final BooleanProperty DOUBLE_CLICK_RESTORES_WINDOW
public static final BooleanProperty RECURSIVE_TABS_ENABLED
public static final IntegerProperty EDGE_SPLIT_DISTANCE
public static final IntegerProperty ABORT_DRAG_KEY
public static final PropertyMapProperty WINDOW_BAR_PROPERTIES
private static RootWindowProperties DEFAULT_VALUES
Constructor Detail |
---|
public RootWindowProperties()
public RootWindowProperties(PropertyMap map)
map
- the property mappublic RootWindowProperties(RootWindowProperties inheritFrom)
inheritFrom
- the object which from to inherit property valuesMethod Detail |
---|
private static void setTabProperties()
private static void setTabbedPanelProperties()
private static void setWindowBarProperties()
private static void setFloatingWindowProperties()
private static void setViewTitleBarProperties()
private static void updateVisualProperties()
private static void updateFont()
private static void updateViewTitleBarProperties()
public static RootWindowProperties createDefault()
public RootWindowProperties addSuperObject(RootWindowProperties properties)
properties
- the object from which to inherit property values
public RootWindowProperties removeSuperObject()
removeSuperObject(RootWindowProperties)
instead.
public RootWindowProperties removeSuperObject(RootWindowProperties superObject)
superObject
- the super object to remove
public RootWindowProperties replaceSuperObject(RootWindowProperties oldSuperObject, RootWindowProperties newSuperObject)
oldSuperObject
- the super object to be replacednewSuperObject
- the super object to replace it with
public TabWindowProperties getTabWindowProperties()
public SplitWindowProperties getSplitWindowProperties()
public FloatingWindowProperties getFloatingWindowProperties()
public ViewProperties getViewProperties()
public DockingWindowProperties getDockingWindowProperties()
public RootWindowProperties setDragRectangleBorderWidth(int width)
width
- the border width
public int getDragRectangleBorderWidth()
public boolean getRecursiveTabsEnabled()
public boolean getDoubleClickRestoresWindow()
public RootWindowProperties setDoubleClickRestoresWindow(boolean enabled)
enabled
- if true, double clicking on a window tab in a window bar restores the window
public RootWindowProperties setRecursiveTabsEnabled(boolean enabled)
enabled
- if true, the user is allowed to place tab windows inside other tab windows
public ComponentProperties getDragLabelProperties()
public ComponentProperties getComponentProperties()
public ShapedPanelProperties getShapedPanelProperties()
public ComponentProperties getWindowAreaProperties()
public ShapedPanelProperties getWindowAreaShapedPanelProperties()
public RootWindowProperties setEdgeSplitDistance(int size)
size
- the distance from the window edge inside which a mouse drag will trigger a window split
public int getEdgeSplitDistance()
public int getAbortDragKey()
public RootWindowProperties setAbortDragKey(int key)
key
- the key code for the key that aborts a drag
public WindowBarProperties getWindowBarProperties()
public ShapedPanelProperties getDragRectangleShapedPanelProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |