Oxygen XML Editor 14.2 Author API

ro.sync.exml.workspace.api.standalone
Class ToolbarInfo

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

@API(type=NOT_EXTENDABLE,
     src=PUBLIC)
public class ToolbarInfo
extends java.lang.Object

Information about a toolbar.

Since:
11.2

Constructor Summary
ToolbarInfo(java.lang.String toolbarID, javax.swing.JComponent[] components, java.lang.String title)
          Constructor
 
Method Summary
 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.

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.