Package net.infonode.tabbedpanel
Class TabAreaProperties
java.lang.Object
net.infonode.properties.propertymap.PropertyMapContainer
net.infonode.tabbedpanel.TabAreaProperties
TabAreaProperties holds all visual properties for a tabbed panel's tab area.
TabbedPanelProperties contains TabAreaProperties.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyMapProperty
Properties for the componentstatic final HoverListenerProperty
Hover listener propertystatic final PropertyMapGroup
A property group for all properties in TabAreaPropertiesstatic final PropertyMapProperty
Properties for the shaped panelstatic final TabAreaVisiblePolicyProperty
Tab area visible property -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty TabAreaProperties objectTabAreaProperties
(PropertyMap object) Constructs a TabAreaProperties object with the given object as property storageTabAreaProperties
(TabAreaProperties inheritFrom) Constructs a TabAreaProperties object that inherits its properties from the given TabAreaProperties object -
Method Summary
Modifier and TypeMethodDescriptionaddSuperObject
(TabAreaProperties superObject) Adds a super object from which property values are inherited.Gets the component propertiesSets the hover listener that will be triggered when the tab area is hovered by the mouse.Gets the shaped panel propertiesGets the tab area visible policy for the tab area, i.e.Removes the last added super object.removeSuperObject
(TabAreaProperties superObject) Removes the given super object.setHoverListener
(HoverListener listener) Sets the hover listener that will be triggered when the tab area is hoverd by the mouse.Sets the tab area visible policy for the tab area, i.e.Methods inherited from class net.infonode.properties.propertymap.PropertyMapContainer
getMap
-
Field Details
-
PROPERTIES
A property group for all properties in TabAreaProperties -
COMPONENT_PROPERTIES
Properties for the component- See Also:
-
SHAPED_PANEL_PROPERTIES
Properties for the shaped panel- Since:
- ITP 1.2.0
- See Also:
-
HOVER_LISTENER
Hover listener property- Since:
- ITP 1.3.0
- See Also:
-
TAB_AREA_VISIBLE_POLICY
Tab area visible property- Since:
- ITP 1.4.0
- See Also:
-
-
Constructor Details
-
TabAreaProperties
public TabAreaProperties()Constructs an empty TabAreaProperties object -
TabAreaProperties
Constructs a TabAreaProperties object with the given object as property storage- Parameters:
object
- object to store properties in
-
TabAreaProperties
Constructs a TabAreaProperties object that inherits its properties from the given TabAreaProperties object- Parameters:
inheritFrom
- TabAreaProperties object to inherit properties from
-
-
Method Details
-
addSuperObject
Adds a super object from which property values are inherited.- Parameters:
superObject
- the object from which to inherit property values- Returns:
- this
-
removeSuperObject
Removes the last added super object.- Returns:
- this
-
removeSuperObject
Removes the given super object.- Parameters:
superObject
- super object to remove- Returns:
- this
- Since:
- ITP 1.3.0
-
getComponentProperties
Gets the component properties- Returns:
- component properties
-
getShapedPanelProperties
Gets the shaped panel properties- Returns:
- shaped panel properties
- Since:
- ITP 1.2.0
-
setHoverListener
Sets the hover listener that will be triggered when the tab area is hoverd by the mouse.
The tabbed panel that the hovered tab area is part of will be the source of the hover event sent to the hover listener.
- Parameters:
listener
- the hover listener- Returns:
- this TabAreaProperties
- Since:
- ITP 1.3.0
-
getHoverListener
Sets the hover listener that will be triggered when the tab area is hovered by the mouse.
The tabbed panel that the hovered tab area is part of will be the source of the hover event sent to the hover listener.
- Returns:
- the hover listener
- Since:
- ITP 1.3.0
-
setTabAreaVisiblePolicy
Sets the tab area visible policy for the tab area, i.e. when the tab area is to be visible- Parameters:
policy
- the tab area visible policy- Returns:
- this TabAreaProperties
- Since:
- ITP 1.4.0
-
getTabAreaVisiblePolicy
Gets the tab area visible policy for the tab area, i.e. when the tab area is to be visible- Returns:
- the tab area visible policy
- Since:
- ITP 1.4.0
-