net.infonode.docking.properties
public class WindowTabButtonProperties extends PropertyMapContainer
Version: $Revision: 1.16 $
| Field Summary | |
|---|---|
| static DockingWindowActionProperty | ACTION
The DockingWindowAction that is performed when the button is clicked.
|
| static ButtonFactoryProperty | FACTORY
The button factory.
|
| static IconProperty | ICON
The button icon. |
| static PropertyMapGroup | PROPERTIES
Property group containing all window tab button properties. |
| static StringProperty | TOOL_TIP_TEXT
The button tool tip text.
|
| static BooleanProperty | VISIBLE
True if the button is visible. |
| Constructor Summary | |
|---|---|
| WindowTabButtonProperties()
Creates an empty property object. | |
| WindowTabButtonProperties(PropertyMap map)
Creates a property object containing the map.
| |
| WindowTabButtonProperties(WindowTabButtonProperties inheritFrom)
Creates a property object that inherit values from another property object.
| |
| Method Summary | |
|---|---|
| WindowTabButtonProperties | addSuperObject(WindowTabButtonProperties properties)
Adds a super object from which property values are inherited.
|
| DockingWindowAction | getAction()
Gets the DockingWindowAction that is performed when the button is clicked.
|
| ButtonFactory | getFactory()
Gets the button factory.
|
| Icon | getIcon()
Returns the button icon.
|
| String | getToolTipText()
Returns the button tool tip text.
|
| boolean | isVisible()
Returns true if this button is visible.
|
| WindowTabButtonProperties | removeSuperObject()
Removes the last added super object.
|
| WindowTabButtonProperties | removeSuperObject(WindowTabButtonProperties superObject)
Removes a super object.
|
| WindowTabButtonProperties | setAction(DockingWindowAction action)
Sets the DockingWindowAction that will be performed when the button is clicked.
|
| WindowTabButtonProperties | setFactory(ButtonFactory factory)
Sets the button factory.
|
| WindowTabButtonProperties | setIcon(Icon icon)
Sets the button icon.
|
| WindowTabButtonProperties | setTo(DockingWindowAction action)
Sets the action is performed when the button is clicked.
|
| WindowTabButtonProperties | setToolTipText(String text)
Sets the button tool tip text.
|
| WindowTabButtonProperties | setVisible(boolean visible)
Set to true if this button should be visible.
|
Since: IDW 1.3.0
Since: IDW 1.1.0
Since: IDW 1.1.0
Parameters: map the property map
Parameters: inheritFrom the object from which to inherit property values
Parameters: properties the object from which to inherit property values
Returns: this
Returns: the DockingWindowAction that is performed when the button is clicked
Since: IDW 1.3.0
Returns: the button factory
Since: IDW 1.1.0
Returns: the button icon
Returns: the button tool tip text
Since: IDW 1.1.0
Returns: true if this button is visible
Deprecated: Use removeSuperObject instead.
Removes the last added super object.Returns: this
Since: IDW 1.1.0
Parameters: superObject the super object to remove
Returns: this
Since: IDW 1.3.0
Parameters: action the DockingWindowAction that is performed when the button is clicked
Returns: this
Since: IDW 1.3.0
Parameters: factory the button factory
Returns: this
Since: IDW 1.1.0
Parameters: icon the button icon
Returns: this
Parameters: action the action that is performed when the button is clicked
Returns: this
Since: IDW 1.3.0
Parameters: text the button tool tip text
Returns: this
Since: IDW 1.1.0
Parameters: visible true if this button should be visible
Returns: this