Package docking.action
Class ToolBarData
java.lang.Object
docking.action.ToolBarData
-
Constructor Summary
ConstructorDescriptionToolBarData
(Icon icon) ToolBarData
(Icon icon, String toolBarGroup) ToolBarData
(Icon icon, String toolBarGroup, String toolBarSubGroup) -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
Returns the toolbar icon assigned to this toolbar data.Returns the group of this toolbar data.Returns the subgroup string.void
void
setToolBarGroup
(String newGroup) void
setToolBarSubGroup
(String newSubGroup) toString()
-
Constructor Details
-
ToolBarData
-
ToolBarData
-
ToolBarData
-
-
Method Details
-
getIcon
Returns the toolbar icon assigned to this toolbar data.- Returns:
- the icon
-
getToolBarGroup
Returns the group of this toolbar data. Actions belonging to the same group will appear next to each other.- Returns:
- the group
-
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
-
setToolBarGroup
-
setToolBarSubGroup
-
toString
-