public class Action
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Action() |
Modifier and Type | Method and Description |
---|---|
void |
deletePosition()
Method deletePosition
|
java.lang.String |
getAccelerator()
Returns the value of field 'accelerator'.
|
java.lang.String |
getActionCommand()
Returns the value of field 'actionCommand'.
|
java.lang.String |
getIcon()
Returns the value of field 'icon'.
|
java.lang.String |
getLabel()
Returns the value of field 'label'.
|
java.lang.String |
getName()
Returns the value of field 'name'.
|
long |
getPosition()
Returns the value of field 'position'.
|
java.lang.String |
getTooltip()
Returns the value of field 'tooltip'.
|
boolean |
hasPosition()
Method hasPosition
|
boolean |
isValid()
Method isValid
|
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal
|
void |
marshal(java.io.Writer out)
Method marshal
|
void |
setAccelerator(java.lang.String accelerator)
Sets the value of field 'accelerator'.
|
void |
setActionCommand(java.lang.String actionCommand)
Sets the value of field 'actionCommand'.
|
void |
setIcon(java.lang.String icon)
Sets the value of field 'icon'.
|
void |
setLabel(java.lang.String label)
Sets the value of field 'label'.
|
void |
setName(java.lang.String name)
Sets the value of field 'name'.
|
void |
setPosition(long position)
Sets the value of field 'position'.
|
void |
setTooltip(java.lang.String tooltip)
Sets the value of field 'tooltip'.
|
java.lang.String |
toString() |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void deletePosition()
public java.lang.String getActionCommand()
public java.lang.String getAccelerator()
public java.lang.String getIcon()
public long getPosition()
public java.lang.String getLabel()
public java.lang.String getTooltip()
public boolean hasPosition()
public boolean isValid()
public java.lang.String getName()
public void marshal(java.io.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(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setActionCommand(java.lang.String actionCommand)
actionCommand
- the value of field 'actionCommand'.public void setAccelerator(java.lang.String accelerator)
accelerator
- the value of field 'accelerator'.public void setIcon(java.lang.String icon)
icon
- the value of field 'icon'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setPosition(long position)
position
- the value of field 'position'.public void setLabel(java.lang.String label)
text
- the value of field 'label'.public void setTooltip(java.lang.String tooltip)
tooltip
- the value of field 'tooltip'.public static java.lang.Object unmarshal(java.io.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
public java.lang.String toString()
toString
in class java.lang.Object