Class ToolbarInfo


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class ToolbarInfo
    extends java.lang.Object
    Information about a toolbar.
    Since:
    11.2
    • Constructor Summary

      Constructors 
      Constructor Description
      ToolbarInfo​(java.lang.String toolbarID, javax.swing.JComponent[] components, java.lang.String title)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.swing.JComponent[] getComponents()  
      java.lang.String getTitle()  
      java.lang.String getToolbarID()  
      boolean isCustomized()
      Check if the toolbar info has been customizer.
      void setComponents​(javax.swing.JComponent[] components)
      Set the toolbar components
      void setTitle​(java.lang.String title)
      Set the toolbar title
      • Methods inherited from class java.lang.Object

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

      • ToolbarInfo

        public ToolbarInfo​(java.lang.String toolbarID,
                           javax.swing.JComponent[] components,
                           java.lang.String title)
        Constructor
        Parameters:
        toolbarID - The unique toolbar ID
        components - The components array
        title - Title for the toolbar
    • Method Detail

      • getToolbarID

        public java.lang.String getToolbarID()
        Returns:
        Returns the toolbarID.
      • getComponents

        public javax.swing.JComponent[] getComponents()
        Returns:
        Returns the components.
      • getTitle

        public java.lang.String getTitle()
        Returns:
        Returns the title.
      • setComponents

        public void setComponents​(javax.swing.JComponent[] components)
        Set the toolbar components
        Parameters:
        components - The components to set.
      • setTitle

        public void setTitle​(java.lang.String title)
        Set the toolbar title
        Parameters:
        title - The title to set.
      • isCustomized

        public boolean isCustomized()
        Check if the toolbar info has been customizer.
        Returns:
        true if the toolbar info has been customizer.