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