Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ToolBarData

        public ToolBarData​(javax.swing.Icon icon)
      • ToolBarData

        public ToolBarData​(javax.swing.Icon icon,
                           java.lang.String toolBarGroup)
      • ToolBarData

        public ToolBarData​(javax.swing.Icon icon,
                           java.lang.String toolBarGroup,
                           java.lang.String toolBarSubGroup)
    • 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 a toolbar 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)