public class TabAreaProperties extends PropertyMapContainer
TabbedPanel
,
TabbedPanelProperties
Modifier and Type | Field and Description |
---|---|
static PropertyMapProperty |
COMPONENT_PROPERTIES
Properties for the component
|
static HoverListenerProperty |
HOVER_LISTENER
Hover listener property
|
static PropertyMapGroup |
PROPERTIES
A property group for all properties in TabAreaProperties
|
static PropertyMapProperty |
SHAPED_PANEL_PROPERTIES
Properties for the shaped panel
|
static TabAreaVisiblePolicyProperty |
TAB_AREA_VISIBLE_POLICY
Tab area visible property
|
Constructor and Description |
---|
TabAreaProperties()
Constructs an empty TabAreaProperties object
|
TabAreaProperties(PropertyMap object)
Constructs a TabAreaProperties object with the given object
as property storage
|
TabAreaProperties(TabAreaProperties inheritFrom)
Constructs a TabAreaProperties object that inherits its properties
from the given TabAreaProperties object
|
Modifier and Type | Method and Description |
---|---|
TabAreaProperties |
addSuperObject(TabAreaProperties superObject)
Adds a super object from which property values are inherited.
|
ComponentProperties |
getComponentProperties()
Gets the component properties
|
HoverListener |
getHoverListener()
Sets the hover listener that will be triggered when the tab area is hovered by the mouse.
|
ShapedPanelProperties |
getShapedPanelProperties()
Gets the shaped panel properties
|
TabAreaVisiblePolicy |
getTabAreaVisiblePolicy()
Gets the tab area visible policy for the tab area, i.e.
|
TabAreaProperties |
removeSuperObject()
Removes the last added super object.
|
TabAreaProperties |
removeSuperObject(TabAreaProperties superObject)
Removes the given super object.
|
TabAreaProperties |
setHoverListener(HoverListener listener)
Sets the hover listener that will be triggered when the tab area is hoverd by the mouse.
|
TabAreaProperties |
setTabAreaVisiblePolicy(TabAreaVisiblePolicy policy)
Sets the tab area visible policy for the tab area, i.e.
|
getMap
public static final PropertyMapGroup PROPERTIES
public static final PropertyMapProperty COMPONENT_PROPERTIES
getComponentProperties()
public static final PropertyMapProperty SHAPED_PANEL_PROPERTIES
getShapedPanelProperties()
public static final HoverListenerProperty HOVER_LISTENER
setHoverListener(net.infonode.gui.hover.HoverListener)
,
getHoverListener()
public static final TabAreaVisiblePolicyProperty TAB_AREA_VISIBLE_POLICY
setTabAreaVisiblePolicy(TabAreaVisiblePolicy)
,
getTabAreaVisiblePolicy()
public TabAreaProperties()
public TabAreaProperties(PropertyMap object)
object
- object to store properties inpublic TabAreaProperties(TabAreaProperties inheritFrom)
inheritFrom
- TabAreaProperties object to inherit properties frompublic TabAreaProperties addSuperObject(TabAreaProperties superObject)
superObject
- the object from which to inherit property valuespublic TabAreaProperties removeSuperObject()
public TabAreaProperties removeSuperObject(TabAreaProperties superObject)
superObject
- super object to removepublic ComponentProperties getComponentProperties()
public ShapedPanelProperties getShapedPanelProperties()
public TabAreaProperties setHoverListener(HoverListener listener)
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.
listener
- the hover listenerpublic HoverListener 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.
public TabAreaProperties setTabAreaVisiblePolicy(TabAreaVisiblePolicy policy)
policy
- the tab area visible policypublic TabAreaVisiblePolicy getTabAreaVisiblePolicy()