net.infonode.docking.properties
Class WindowTabProperties

java.lang.Object
  extended by net.infonode.properties.propertymap.PropertyMapContainer
      extended by net.infonode.docking.properties.WindowTabProperties

public class WindowTabProperties
extends PropertyMapContainer

Properties and property values for window tabs.

Version:
$Revision: 1.21 $
Author:
$Author: jesper $

Field Summary
static 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.
static PropertyMapProperty FOCUSED_PROPERTIES
          Property values for the titled tab when it is focused or a component in the tab's content component has focus.
static PropertyMapProperty HIGHLIGHTED_BUTTON_PROPERTIES
          Property values for the tab buttons when the tab is highlighted.
static PropertyMapProperty NORMAL_BUTTON_PROPERTIES
          Property values for the tab buttons when the tab is in the normal state.
static PropertyMapGroup PROPERTIES
          Property group containing all window tab properties.
static PropertyMapProperty TITLED_TAB_PROPERTIES
          Property values for the titled tab used in the tab.
 
Constructor Summary
WindowTabProperties()
          Creates an empty property object.
WindowTabProperties(PropertyMap map)
          Creates a property object containing the map.
WindowTabProperties(WindowTabProperties inheritFrom)
          Creates a property object that inherit values from another property object.
 
Method Summary
 WindowTabProperties addSuperObject(WindowTabProperties properties)
          Adds a super object from which property values are inherited.
 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.
 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.
 WindowTabStateProperties getHighlightedButtonProperties()
          Returns the property values for the tab buttons when the tab is highlighted.
 WindowTabStateProperties getNormalButtonProperties()
          Returns the property values for the tab buttons when the tab is in the normal state.
 TitledTabProperties getTitledTabProperties()
          Returns the property values for the titled tab used in the tab.
 WindowTabProperties removeSuperObject()
          Deprecated. Use removeSuperObject(WindowTabProperties) instead.
 WindowTabProperties removeSuperObject(WindowTabProperties superObject)
          Removes a super object.
 
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

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. Use removeSuperObject(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