|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.infonode.properties.propertymap.PropertyMapContainer
net.infonode.docking.properties.ViewTitleBarStateProperties
public class ViewTitleBarStateProperties
Properties and property values for a view title bar state.
Field Summary | |
---|---|
static IntegerProperty |
BUTTON_SPACING
Button spacing |
static PropertyMapProperty |
CLOSE_BUTTON_PROPERTIES
The close button property values. |
static PropertyMapProperty |
COMPONENT_PROPERTIES
Properties for the component |
static PropertyMapProperty |
DOCK_BUTTON_PROPERTIES
The dock button property values. |
static IconProperty |
ICON
The title bar icon. |
static IntegerProperty |
ICON_TEXT_GAP
Icon text gap property |
static AlignmentProperty |
ICON_TEXT_HORIZONTAL_ALIGNMENT
Icon Text Horizontal alignment property |
static BooleanProperty |
ICON_VISIBLE
Icon visible property |
static PropertyMapProperty |
MAXIMIZE_BUTTON_PROPERTIES
The minimize button property values. |
static PropertyMapProperty |
MINIMIZE_BUTTON_PROPERTIES
The minimize button property values. |
static PropertyMapGroup |
PROPERTIES
Property group containing all view title bar state properties. |
static PropertyMapProperty |
RESTORE_BUTTON_PROPERTIES
The restore button property values. |
static PropertyMapProperty |
SHAPED_PANEL_PROPERTIES
Properties for the shaped panel |
static StringProperty |
TITLE
The title bar title. |
static BooleanProperty |
TITLE_VISIBLE
Title visible property |
static PropertyMapProperty |
UNDOCK_BUTTON_PROPERTIES
The undock button property values. |
Constructor Summary | |
---|---|
ViewTitleBarStateProperties()
Creates an empty property object. |
|
ViewTitleBarStateProperties(PropertyMap map)
Creates a property object containing the map. |
|
ViewTitleBarStateProperties(ViewTitleBarStateProperties inheritFrom)
Creates a property object that inherit values from another property object. |
Method Summary | |
---|---|
ViewTitleBarStateProperties |
addSuperObject(ViewTitleBarStateProperties properties)
Adds a super object from which property values are inherited. |
int |
getButtonSpacing()
Returns the spacing between the buttons on the title bar |
WindowTabButtonProperties |
getCloseButtonProperties()
Returns the close button property values. |
ComponentProperties |
getComponentProperties()
Gets the component properties |
WindowTabButtonProperties |
getDockButtonProperties()
Returns the dock button property values. |
javax.swing.Icon |
getIcon()
Returns the view icon. |
int |
getIconTextGap()
Returns the gap between the icon and the title in the title bar |
Alignment |
getIconTextHorizontalAlignment()
Gets the text's and icon's horizontal alignment |
boolean |
getIconVisible()
Returns if the icon should be visible or not |
WindowTabButtonProperties |
getMaximizeButtonProperties()
Returns the maximize button property values. |
WindowTabButtonProperties |
getMinimizeButtonProperties()
Returns the minimize button property values. |
WindowTabButtonProperties |
getRestoreButtonProperties()
Returns the restore button property values. |
ShapedPanelProperties |
getShapedPanelProperties()
Gets the shaped panel properties |
java.lang.String |
getTitle()
Returns the view title. |
boolean |
getTitleVisible()
Returns if the title should be visible or not |
WindowTabButtonProperties |
getUndockButtonProperties()
Returns the undock button property values. |
ViewTitleBarStateProperties |
removeSuperObject(ViewTitleBarStateProperties superObject)
Removes a super object. |
ViewTitleBarStateProperties |
setButtonSpacing(int spacing)
Sets the spacing between the buttons on the title bar |
ViewTitleBarStateProperties |
setIcon(javax.swing.Icon icon)
Sets the icon. |
ViewTitleBarStateProperties |
setIconTextGap(int gap)
Sets the gap between the icon and the title in the title bar |
ViewTitleBarStateProperties |
setIconTextHorizontalAlignment(Alignment alignment)
Sets the text's and icon's horizontal alignment |
ViewTitleBarStateProperties |
setIconVisible(boolean visible)
Sets if the icon should be visible or not |
ViewTitleBarStateProperties |
setTitle(java.lang.String title)
Sets the title. |
ViewTitleBarStateProperties |
setTitleVisible(boolean visible)
Sets if the title should be visible or not |
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
getComponentProperties()
public static final PropertyMapProperty SHAPED_PANEL_PROPERTIES
getShapedPanelProperties()
public static final PropertyMapProperty MINIMIZE_BUTTON_PROPERTIES
getMinimizeButtonProperties()
public static final PropertyMapProperty MAXIMIZE_BUTTON_PROPERTIES
getMinimizeButtonProperties()
public static final PropertyMapProperty RESTORE_BUTTON_PROPERTIES
getRestoreButtonProperties()
public static final PropertyMapProperty CLOSE_BUTTON_PROPERTIES
getCloseButtonProperties()
public static final PropertyMapProperty UNDOCK_BUTTON_PROPERTIES
getUndockButtonProperties()
public static final PropertyMapProperty DOCK_BUTTON_PROPERTIES
getDockButtonProperties()
public static final StringProperty TITLE
public static final BooleanProperty TITLE_VISIBLE
setTitleVisible(boolean)
,
getTitleVisible()
public static final IconProperty ICON
public static final BooleanProperty ICON_VISIBLE
setIconVisible(boolean)
,
getIconVisible()
public static final IntegerProperty ICON_TEXT_GAP
setIconTextGap(int)
,
getIconTextGap()
public static final AlignmentProperty ICON_TEXT_HORIZONTAL_ALIGNMENT
setIconTextHorizontalAlignment(net.infonode.util.Alignment)
,
getIconTextHorizontalAlignment()
public static final IntegerProperty BUTTON_SPACING
setButtonSpacing(int)
,
getButtonSpacing()
Constructor Detail |
---|
public ViewTitleBarStateProperties()
public ViewTitleBarStateProperties(PropertyMap map)
map
- the property mappublic ViewTitleBarStateProperties(ViewTitleBarStateProperties inheritFrom)
inheritFrom
- the object from which to inherit property valuesMethod Detail |
---|
public ViewTitleBarStateProperties addSuperObject(ViewTitleBarStateProperties properties)
properties
- the object from which to inherit property values
public ViewTitleBarStateProperties removeSuperObject(ViewTitleBarStateProperties superObject)
superObject
- the super object to remove
public ComponentProperties getComponentProperties()
public ShapedPanelProperties getShapedPanelProperties()
public WindowTabButtonProperties getMinimizeButtonProperties()
public WindowTabButtonProperties getMaximizeButtonProperties()
public WindowTabButtonProperties getRestoreButtonProperties()
public WindowTabButtonProperties getCloseButtonProperties()
public WindowTabButtonProperties getUndockButtonProperties()
public WindowTabButtonProperties getDockButtonProperties()
public ViewTitleBarStateProperties setButtonSpacing(int spacing)
spacing
- spacing in pixels
public int getButtonSpacing()
public ViewTitleBarStateProperties setTitle(java.lang.String title)
title
- the title
public java.lang.String getTitle()
public ViewTitleBarStateProperties setTitleVisible(boolean visible)
visible
- True for visible, otherwise false
public boolean getTitleVisible()
public ViewTitleBarStateProperties setIcon(javax.swing.Icon icon)
icon
- the icon
public javax.swing.Icon getIcon()
public ViewTitleBarStateProperties setIconVisible(boolean visible)
visible
- True for visible, otherwise false
public boolean getIconVisible()
public ViewTitleBarStateProperties setIconTextGap(int gap)
gap
- gap in pixels
public int getIconTextGap()
public ViewTitleBarStateProperties setIconTextHorizontalAlignment(Alignment alignment)
alignment
- text and icon alignment
public Alignment getIconTextHorizontalAlignment()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |