public class TabAreaComponentsProperties 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 TabAreaComponentsProperties
|
static PropertyMapProperty |
SHAPED_PANEL_PROPERTIES
Properties for the shaped panel
|
static BooleanProperty |
STRETCH_ENABLED
Stretch enabled property
|
Constructor and Description |
---|
TabAreaComponentsProperties()
Constructs an empty TabAreaComponentsProperties object
|
TabAreaComponentsProperties(PropertyMap object)
Constructs a TabAreaComponentsProperties object with the given object as
property storage
|
TabAreaComponentsProperties(TabAreaComponentsProperties inheritFrom)
Constructs a TabAreaComponentsProperties object that inherits its properties
from the given TabAreaComponentsProperties object
|
Modifier and Type | Method and Description |
---|---|
TabAreaComponentsProperties |
addSuperObject(TabAreaComponentsProperties superObject)
Adds a super object from which property values are inherited.
|
ComponentProperties |
getComponentProperties()
Gets the component properties
|
HoverListener |
getHoverListener()
Gets the hover listener that will be triggered when the tab area components area is hovered by the mouse.
|
ShapedPanelProperties |
getShapedPanelProperties()
Gets the shaped panel properties
|
boolean |
getStretchEnabled()
Gets if components should be stretched to same height as tabs if tabs are
higher than components.
|
TabAreaComponentsProperties |
removeSuperObject()
Removes the last added super object.
|
TabAreaComponentsProperties |
removeSuperObject(TabAreaComponentsProperties superObject)
Removes the given super object.
|
TabAreaComponentsProperties |
setHoverListener(HoverListener listener)
Sets the hover listener that will be triggered when the tab area components area is hoverd by the mouse.
|
TabAreaComponentsProperties |
setStretchEnabled(boolean enabled)
Sets if components should be stretched to same height as tabs if tabs are
higher than components.
|
getMap
public static final PropertyMapGroup PROPERTIES
public static final BooleanProperty STRETCH_ENABLED
setStretchEnabled(boolean)
,
getStretchEnabled()
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 TabAreaComponentsProperties()
public TabAreaComponentsProperties(PropertyMap object)
object
- object to store properties inpublic TabAreaComponentsProperties(TabAreaComponentsProperties inheritFrom)
inheritFrom
- TabAreaComponentsProperties object to inherit properties frompublic TabAreaComponentsProperties addSuperObject(TabAreaComponentsProperties superObject)
superObject
- the object from which to inherit property valuespublic TabAreaComponentsProperties removeSuperObject()
public TabAreaComponentsProperties removeSuperObject(TabAreaComponentsProperties superObject)
superObject
- super object to removepublic boolean getStretchEnabled()
public TabAreaComponentsProperties setStretchEnabled(boolean enabled)
enabled
- true for stretch, otherwise falsepublic ComponentProperties getComponentProperties()
public ShapedPanelProperties getShapedPanelProperties()
public TabAreaComponentsProperties setHoverListener(HoverListener listener)
Sets the hover listener that will be triggered when the tab area components area is hoverd by the mouse.
The tabbed panel that the hovered tab area components area is part of will be the source of the hover event sent to the hover listener.
listener
- the hover listenerpublic HoverListener getHoverListener()
Gets the hover listener that will be triggered when the tab area components area is hovered by the mouse.
The tabbed panel that the hovered tab area components area is part of will be the source of the hover event sent to the hover listener.