Package docking.action
Class ToolBarData
- java.lang.Object
-
- docking.action.ToolBarData
-
public class ToolBarData extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ToolBarData(javax.swing.Icon icon)
ToolBarData(javax.swing.Icon icon, java.lang.String toolBarGroup)
ToolBarData(javax.swing.Icon icon, java.lang.String toolBarGroup, java.lang.String toolBarSubGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.Icon
getIcon()
Returns the toolbar icon assigned to this toolbar data.java.lang.String
getToolBarGroup()
Returns the group of this toolbar data.java.lang.String
getToolBarSubGroup()
Returns the subgroup string.void
setIcon(javax.swing.Icon newIcon)
void
setToolBarGroup(java.lang.String newGroup)
void
setToolBarSubGroup(java.lang.String newSubGroup)
java.lang.String
toString()
-
-
-
Method Detail
-
getIcon
public javax.swing.Icon getIcon()
Returns the toolbar icon assigned to this toolbar data.- Returns:
- the icon
-
getToolBarGroup
public java.lang.String getToolBarGroup()
Returns the group of this toolbar data. Actions belonging to the same group will appear next to each other.- Returns:
- the group
-
getToolBarSubGroup
public java.lang.String getToolBarSubGroup()
Returns the subgroup string. This string is used to sort items within atoolbar group
. This value is not required. If not specified, then the value will effectively place this item at the end of its specified group.- Returns:
- the subgroup
-
setIcon
public void setIcon(javax.swing.Icon newIcon)
-
setToolBarGroup
public void setToolBarGroup(java.lang.String newGroup)
-
setToolBarSubGroup
public void setToolBarSubGroup(java.lang.String newSubGroup)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-