Package net.infonode.tabbedpanel
Class TabbedPanelContentPanelProperties
- java.lang.Object
-
- net.infonode.properties.propertymap.PropertyMapContainer
-
- net.infonode.tabbedpanel.TabbedPanelContentPanelProperties
-
public class TabbedPanelContentPanelProperties extends PropertyMapContainer
TabbedPanelContentPanelProperties holds all properties for aTabbedPanelContentPanel
. These properties affects the content area of a TabbedPanel. TabbedPanelProperties contains TabbedPanelContentPanelProperties.- See Also:
TabbedPanel
,TabbedPanelProperties
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyMapProperty
COMPONENT_PROPERTIES
Properties for the componentstatic HoverListenerProperty
HOVER_LISTENER
Hover listener propertystatic PropertyMapGroup
PROPERTIES
A property group for all properties in TabbedPanelContentPanelPropertiesstatic PropertyMapProperty
SHAPED_PANEL_PROPERTIES
Properties for the shaped panel
-
Constructor Summary
Constructors Constructor Description TabbedPanelContentPanelProperties()
Constructs an empty TabbedPanelContentPanelProperties objectTabbedPanelContentPanelProperties(PropertyMap map)
Constructs a TabbedPanelContentPanelProperties map with the given map as property storageTabbedPanelContentPanelProperties(TabbedPanelContentPanelProperties inheritFrom)
Constructs a TabbedPanelContentPanelProperties object that inherits its properties from the given TabbedPanelContentPanelProperties object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabbedPanelContentPanelProperties
addSuperObject(TabbedPanelContentPanelProperties superObject)
Adds a super object from which property values are inherited.ComponentProperties
getComponentProperties()
Gets the component propertiesHoverListener
getHoverListener()
Gets the hover listener that will be triggered when the content area is hovered by the mouse.ShapedPanelProperties
getShapedPanelProperties()
Gets the shaped panel propertiesTabbedPanelContentPanelProperties
removeSuperObject()
Removes the last added super object.TabbedPanelContentPanelProperties
removeSuperObject(TabbedPanelContentPanelProperties superObject)
Removes the given super object.TabbedPanelContentPanelProperties
setHoverListener(HoverListener listener)
Sets the hover listener that will be triggered when the content area is hoverd by the mouse.-
Methods inherited from class net.infonode.properties.propertymap.PropertyMapContainer
getMap
-
-
-
-
Field Detail
-
PROPERTIES
public static final PropertyMapGroup PROPERTIES
A property group for all properties in TabbedPanelContentPanelProperties
-
COMPONENT_PROPERTIES
public static final PropertyMapProperty COMPONENT_PROPERTIES
Properties for the component- See Also:
getComponentProperties()
-
SHAPED_PANEL_PROPERTIES
public static final PropertyMapProperty SHAPED_PANEL_PROPERTIES
Properties for the shaped panel- Since:
- ITP 1.2.0
- See Also:
getShapedPanelProperties()
-
HOVER_LISTENER
public static final HoverListenerProperty HOVER_LISTENER
Hover listener property- Since:
- ITP 1.3.0
- See Also:
setHoverListener(net.infonode.gui.hover.HoverListener)
,getHoverListener()
-
-
Constructor Detail
-
TabbedPanelContentPanelProperties
public TabbedPanelContentPanelProperties()
Constructs an empty TabbedPanelContentPanelProperties object
-
TabbedPanelContentPanelProperties
public TabbedPanelContentPanelProperties(PropertyMap map)
Constructs a TabbedPanelContentPanelProperties map with the given map as property storage- Parameters:
map
- map to store properties in
-
TabbedPanelContentPanelProperties
public TabbedPanelContentPanelProperties(TabbedPanelContentPanelProperties inheritFrom)
Constructs a TabbedPanelContentPanelProperties object that inherits its properties from the given TabbedPanelContentPanelProperties object- Parameters:
inheritFrom
- TabbedPanelContentPanelProperties object to inherit properties from
-
-
Method Detail
-
addSuperObject
public TabbedPanelContentPanelProperties addSuperObject(TabbedPanelContentPanelProperties superObject)
Adds a super object from which property values are inherited.- Parameters:
superObject
- the object from which to inherit property values- Returns:
- this
-
removeSuperObject
public TabbedPanelContentPanelProperties removeSuperObject()
Removes the last added super object.- Returns:
- this
-
removeSuperObject
public TabbedPanelContentPanelProperties removeSuperObject(TabbedPanelContentPanelProperties superObject)
Removes the given super object.- Parameters:
superObject
- super object to remove- Returns:
- this
- Since:
- ITP 1.3.0
-
getComponentProperties
public ComponentProperties getComponentProperties()
Gets the component properties- Returns:
- component properties
-
getShapedPanelProperties
public ShapedPanelProperties getShapedPanelProperties()
Gets the shaped panel properties- Returns:
- shaped panel properties
- Since:
- ITP 1.2.0
-
setHoverListener
public TabbedPanelContentPanelProperties setHoverListener(HoverListener listener)
Sets the hover listener that will be triggered when the content area is hoverd by the mouse.
The tabbed panel that the hovered content area is part of will be the source of the hover event sent to the hover listener.
- Parameters:
listener
- the hover listener- Returns:
- this TabbedPanelContentPanelProperties
- Since:
- ITP 1.3.0
-
getHoverListener
public HoverListener getHoverListener()
Gets the hover listener that will be triggered when the content area is hovered by the mouse.
The tabbed panel that the hovered content 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
-
-