Class Action
java.lang.Object
org.gvsig.andami.plugins.config.generate.Action
- All Implemented Interfaces:
Serializable
Class Action.
- Version:
- $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod deletePositionReturns the value of field 'accelerator'.Returns the value of field 'actionCommand'.getIcon()Returns the value of field 'icon'.getLabel()Returns the value of field 'label'.getName()Returns the value of field 'name'.longReturns the value of field 'position'.Returns the value of field 'tooltip'.booleanMethod hasPositionbooleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidsetAccelerator(String accelerator) Sets the value of field 'accelerator'.voidsetActionCommand(String actionCommand) Sets the value of field 'actionCommand'.voidSets the value of field 'icon'.voidSets the value of field 'label'.voidSets the value of field 'name'.voidsetPosition(long position) Sets the value of field 'position'.voidsetTooltip(String tooltip) Sets the value of field 'tooltip'.toString()static ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
deletePosition
public void deletePosition()Method deletePosition -
getActionCommand
Returns the value of field 'actionCommand'.- Returns:
- the value of field 'actionCommand'.
-
getAccelerator
Returns the value of field 'accelerator'.- Returns:
- the value of field 'accelerator'.
-
getIcon
Returns the value of field 'icon'.- Returns:
- the value of field 'icon'.
-
getPosition
public long getPosition()Returns the value of field 'position'.- Returns:
- the value of field 'position'.
-
getLabel
Returns the value of field 'label'.- Returns:
- the value of field 'label'.
-
getTooltip
Returns the value of field 'tooltip'.- Returns:
- the value of field 'tooltip'.
-
hasPosition
public boolean hasPosition()Method hasPosition -
isValid
public boolean isValid()Method isValid -
getName
Returns the value of field 'name'.- Returns:
- the value of field 'name'.
-
marshal
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method marshal- Parameters:
out-- Throws:
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
marshal
public void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method marshal- Parameters:
handler-- Throws:
IOExceptionorg.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
setActionCommand
Sets the value of field 'actionCommand'.- Parameters:
actionCommand- the value of field 'actionCommand'.
-
setAccelerator
Sets the value of field 'accelerator'.- Parameters:
accelerator- the value of field 'accelerator'.
-
setIcon
Sets the value of field 'icon'.- Parameters:
icon- the value of field 'icon'.
-
setName
Sets the value of field 'name'.- Parameters:
name- the value of field 'name'.
-
setPosition
public void setPosition(long position) Sets the value of field 'position'.- Parameters:
position- the value of field 'position'.
-
setLabel
Sets the value of field 'label'.- Parameters:
text- the value of field 'label'.
-
setTooltip
Sets the value of field 'tooltip'.- Parameters:
tooltip- the value of field 'tooltip'.
-
unmarshal
public static Object unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException Method unmarshal- Parameters:
reader-- Throws:
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationException
-
validate
public void validate() throws org.exolab.castor.xml.ValidationExceptionMethod validate- Throws:
org.exolab.castor.xml.ValidationException
-
toString
-