Package net.infonode.docking.properties
Class WindowTabProperties
- java.lang.Object
-
- net.infonode.properties.propertymap.PropertyMapContainer
-
- net.infonode.docking.properties.WindowTabProperties
-
public class WindowTabProperties extends PropertyMapContainer
Properties and property values for window tabs.
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyMapPropertyFOCUSED_BUTTON_PROPERTIESProperty values for the tab buttons when the tab is focused or a component in the tab's content component has focus.static PropertyMapPropertyFOCUSED_PROPERTIESProperty values for the titled tab when it is focused or a component in the tab's content component has focus.static PropertyMapPropertyHIGHLIGHTED_BUTTON_PROPERTIESProperty values for the tab buttons when the tab is highlighted.static PropertyMapPropertyNORMAL_BUTTON_PROPERTIESProperty values for the tab buttons when the tab is in the normal state.static PropertyMapGroupPROPERTIESProperty group containing all window tab properties.static PropertyMapPropertyTITLED_TAB_PROPERTIESProperty values for the titled tab used in the tab.
-
Constructor Summary
Constructors Constructor Description WindowTabProperties()Creates an empty property object.WindowTabProperties(WindowTabProperties inheritFrom)Creates a property object that inherit values from another property object.WindowTabProperties(PropertyMap map)Creates a property object containing the map.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WindowTabPropertiesaddSuperObject(WindowTabProperties properties)Adds a super object from which property values are inherited.WindowTabStatePropertiesgetFocusedButtonProperties()Returns the property values for the tab buttons when the tab is focused or a component in the tab's content component has focus.TitledTabStatePropertiesgetFocusedProperties()Returns the property values for the titled tab when it is focused or a component in the tab's content component has focus.WindowTabStatePropertiesgetHighlightedButtonProperties()Returns the property values for the tab buttons when the tab is highlighted.WindowTabStatePropertiesgetNormalButtonProperties()Returns the property values for the tab buttons when the tab is in the normal state.TitledTabPropertiesgetTitledTabProperties()Returns the property values for the titled tab used in the tab.WindowTabPropertiesremoveSuperObject()Deprecated.UseremoveSuperObject(WindowTabProperties)instead.WindowTabPropertiesremoveSuperObject(WindowTabProperties superObject)Removes a super object.-
Methods inherited from class net.infonode.properties.propertymap.PropertyMapContainer
getMap
-
-
-
-
Field Detail
-
PROPERTIES
public static final PropertyMapGroup PROPERTIES
Property group containing all window tab properties.
-
TITLED_TAB_PROPERTIES
public static final PropertyMapProperty TITLED_TAB_PROPERTIES
Property values for the titled tab used in the tab.
-
FOCUSED_PROPERTIES
public static final PropertyMapProperty FOCUSED_PROPERTIES
Property values for the titled tab when it is focused or a component in the tab's content component has focus.
-
NORMAL_BUTTON_PROPERTIES
public static final PropertyMapProperty NORMAL_BUTTON_PROPERTIES
Property values for the tab buttons when the tab is in the normal state.
-
HIGHLIGHTED_BUTTON_PROPERTIES
public static final PropertyMapProperty HIGHLIGHTED_BUTTON_PROPERTIES
Property values for the tab buttons when the tab is highlighted.
-
FOCUSED_BUTTON_PROPERTIES
public static final PropertyMapProperty FOCUSED_BUTTON_PROPERTIES
Property values for the tab buttons when the tab is focused or a component in the tab's content component has focus.
-
-
Constructor Detail
-
WindowTabProperties
public WindowTabProperties()
Creates an empty property object.
-
WindowTabProperties
public WindowTabProperties(PropertyMap map)
Creates a property object containing the map.- Parameters:
map- the property map
-
WindowTabProperties
public WindowTabProperties(WindowTabProperties inheritFrom)
Creates a property object that inherit values from another property object.- Parameters:
inheritFrom- the object from which to inherit property values
-
-
Method Detail
-
addSuperObject
public WindowTabProperties addSuperObject(WindowTabProperties properties)
Adds a super object from which property values are inherited.- Parameters:
properties- the object from which to inherit property values- Returns:
- this
-
removeSuperObject
public WindowTabProperties removeSuperObject()
Deprecated.UseremoveSuperObject(WindowTabProperties)instead.Removes the last added super object.- Returns:
- this
- Since:
- IDW 1.1.0
-
removeSuperObject
public WindowTabProperties removeSuperObject(WindowTabProperties superObject)
Removes a super object.- Parameters:
superObject- the super object to remove- Returns:
- this
- Since:
- IDW 1.3.0
-
getTitledTabProperties
public TitledTabProperties getTitledTabProperties()
Returns the property values for the titled tab used in the tab.- Returns:
- the property values for the titled tab used in the tab
-
getFocusedProperties
public TitledTabStateProperties getFocusedProperties()
Returns the property values for the titled tab when it is focused or a component in the tab's content component has focus.- Returns:
- the property values for the titled tab when it is focused or a component in the tab's content component has focus
-
getNormalButtonProperties
public WindowTabStateProperties getNormalButtonProperties()
Returns the property values for the tab buttons when the tab is in the normal state.- Returns:
- the property values for the tab buttons when the tab is in the normal state
-
getHighlightedButtonProperties
public WindowTabStateProperties getHighlightedButtonProperties()
Returns the property values for the tab buttons when the tab is highlighted.- Returns:
- the property values for the tab buttons when the tab is highlighted
-
getFocusedButtonProperties
public WindowTabStateProperties getFocusedButtonProperties()
Returns the property values for the tab buttons when the tab is focused or a component in the tab's content component has focus.- Returns:
- the property values for the tab buttons when the tab is focused or a component in the tab's content component has focus
-
-