public class ToolBar extends Object implements Serializable
Constructor and Description |
---|
ToolBar() |
Modifier and Type | Method and Description |
---|---|
void |
addActionTool(ActionTool vActionTool)
Method addActionTool
|
void |
addActionTool(int index,
ActionTool vActionTool)
Method addActionTool
|
void |
addComboButton(ComboButton vComboButton)
Method addComboButton
|
void |
addComboButton(int index,
ComboButton vComboButton)
Method addComboButton
|
void |
addComboScale(ComboScale vComboScale)
Method addComboScale
|
void |
addComboScale(int index,
ComboScale vComboScale)
Method addComboScale
|
void |
addSelectableTool(int index,
SelectableTool vSelectableTool)
Method addSelectableTool
|
void |
addSelectableTool(SelectableTool vSelectableTool)
Method addSelectableTool
|
void |
deleteIsVisible()
Method deleteIsVisible
|
void |
deletePosition()
Method deletePosition
|
Enumeration |
enumerateActionTool()
Method enumerateActionTool
|
Enumeration |
enumerateComboButton()
Method enumerateComboButton
|
Enumeration |
enumerateComboScale()
Method enumerateComboScale
|
Enumeration |
enumerateSelectableTool()
Method enumerateSelectableTool
|
ActionTool[] |
getActionTool()
Method getActionTool
|
ActionTool |
getActionTool(int index)
Method getActionTool
|
int |
getActionToolCount()
Method getActionToolCount
|
ComboButton[] |
getComboButton()
Method getComboButton
|
ComboButton |
getComboButton(int index)
Method getComboButton
|
int |
getComboButtonCount()
Method getComboButtonCount
|
ComboScale[] |
getComboScale()
Method getComboScale
|
ComboScale |
getComboScale(int index)
Method getComboScale
|
int |
getComboScaleCount()
Method getComboScaleCount
|
String |
getDescription()
Returns the value of field 'name'.
|
boolean |
getIsVisible()
Returns the value of field 'isVisible'.
|
String |
getName()
Returns the value of field 'name'.
|
int |
getPosition()
Returns the value of field 'position'.
|
SelectableTool[] |
getSelectableTool()
Method getSelectableTool
|
SelectableTool |
getSelectableTool(int index)
Method getSelectableTool
|
int |
getSelectableToolCount()
Method getSelectableToolCount
|
boolean |
hasIsVisible()
Method hasIsVisible
|
boolean |
hasPosition()
Method hasPosition
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(Writer out)
Method marshal
|
ActionTool |
removeActionTool(int index)
Method removeActionTool
|
void |
removeAllActionTool()
Method removeAllActionTool
|
void |
removeAllComboButton()
Method removeAllComboButton
|
void |
removeAllComboScale()
Method removeAllComboScale
|
void |
removeAllSelectableTool()
Method removeAllSelectableTool
|
ComboButton |
removeComboButton(int index)
Method removeComboButton
|
ComboScale |
removeComboScale(int index)
Method removeComboScale
|
SelectableTool |
removeSelectableTool(int index)
Method removeSelectableTool
|
void |
setActionTool(ActionTool[] actionToolArray)
Method setActionTool
|
void |
setActionTool(int index,
ActionTool vActionTool)
Method setActionTool
|
void |
setComboButton(ComboButton[] comboButtonArray)
Method setComboButton
|
void |
setComboButton(int index,
ComboButton vComboButton)
Method setComboButton
|
void |
setComboScale(ComboScale[] comboScaleArray)
Method setComboScale
|
void |
setComboScale(int index,
ComboScale vComboScale)
Method setComboScale
|
void |
setDescription(String description)
Sets the value of field 'name'.
|
void |
setIsVisible(boolean isVisible)
Sets the value of field 'isVisible'.
|
void |
setName(String name)
Sets the value of field 'name'.
|
void |
setPosition(int position)
Sets the value of field 'position'.
|
void |
setSelectableTool(int index,
SelectableTool vSelectableTool)
Method setSelectableTool
|
void |
setSelectableTool(SelectableTool[] selectableToolArray)
Method setSelectableTool
|
static Object |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addActionTool(ActionTool vActionTool) throws IndexOutOfBoundsException
vActionTool
- IndexOutOfBoundsException
public void addActionTool(int index, ActionTool vActionTool) throws IndexOutOfBoundsException
index
- vActionTool
- IndexOutOfBoundsException
public void addComboButton(ComboButton vComboButton) throws IndexOutOfBoundsException
vComboButton
- IndexOutOfBoundsException
public void addComboButton(int index, ComboButton vComboButton) throws IndexOutOfBoundsException
index
- vComboButton
- IndexOutOfBoundsException
public void addComboScale(ComboScale vComboScale) throws IndexOutOfBoundsException
vComboScale
- IndexOutOfBoundsException
public void addComboScale(int index, ComboScale vComboScale) throws IndexOutOfBoundsException
index
- vComboScale
- IndexOutOfBoundsException
public void addSelectableTool(SelectableTool vSelectableTool) throws IndexOutOfBoundsException
vSelectableTool
- IndexOutOfBoundsException
public void addSelectableTool(int index, SelectableTool vSelectableTool) throws IndexOutOfBoundsException
index
- vSelectableTool
- IndexOutOfBoundsException
public void deleteIsVisible()
public void deletePosition()
public Enumeration enumerateActionTool()
public Enumeration enumerateComboButton()
public Enumeration enumerateComboScale()
public Enumeration enumerateSelectableTool()
public ActionTool getActionTool(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public ActionTool[] getActionTool()
public int getActionToolCount()
public ComboButton getComboButton(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public ComboButton[] getComboButton()
public int getComboButtonCount()
public ComboScale getComboScale(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public ComboScale[] getComboScale()
public int getComboScaleCount()
public boolean getIsVisible()
public String getName()
public String getDescription()
public int getPosition()
public SelectableTool getSelectableTool(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public SelectableTool[] getSelectableTool()
public int getSelectableToolCount()
public boolean hasIsVisible()
public boolean hasPosition()
public boolean isValid()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public ActionTool removeActionTool(int index)
index
- public void removeAllActionTool()
public void removeAllComboButton()
public void removeAllComboScale()
public void removeAllSelectableTool()
public ComboButton removeComboButton(int index)
index
- public ComboScale removeComboScale(int index)
index
- public SelectableTool removeSelectableTool(int index)
index
- public void setActionTool(int index, ActionTool vActionTool) throws IndexOutOfBoundsException
index
- vActionTool
- IndexOutOfBoundsException
public void setActionTool(ActionTool[] actionToolArray)
actionToolArray
- public void setComboButton(int index, ComboButton vComboButton) throws IndexOutOfBoundsException
index
- vComboButton
- IndexOutOfBoundsException
public void setComboButton(ComboButton[] comboButtonArray)
comboButtonArray
- public void setComboScale(int index, ComboScale vComboScale) throws IndexOutOfBoundsException
index
- vComboScale
- IndexOutOfBoundsException
public void setComboScale(ComboScale[] comboScaleArray)
comboScaleArray
- public void setIsVisible(boolean isVisible)
isVisible
- the value of field 'isVisible'.public void setName(String name)
name
- the value of field 'name'.public void setDescription(String description)
name
- the value of field 'name'.public void setPosition(int position)
position
- the value of field 'position'.public void setSelectableTool(int index, SelectableTool vSelectableTool) throws IndexOutOfBoundsException
index
- vSelectableTool
- IndexOutOfBoundsException
public void setSelectableTool(SelectableTool[] selectableToolArray)
selectableToolArray
- public static Object unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException