Class ToolbarInfo

java.lang.Object
ro.sync.exml.workspace.api.standalone.ToolbarInfo

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

    • ToolbarInfo

      public ToolbarInfo(String toolbarID, JComponent[] components, String title)
      Constructor
      Parameters:
      toolbarID - The unique toolbar ID
      components - The components array
      title - Title for the toolbar
  • Method Details

    • getToolbarID

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

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

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

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

      public void setTitle(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.