java.lang.Object
org.gvsig.andami.plugins.config.generate.Action
All Implemented Interfaces:
Serializable

public class Action extends Object implements Serializable
Class Action.
Version:
$Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
See Also:
  • Constructor Details

    • Action

      public Action()
  • Method Details

    • deletePosition

      public void deletePosition()
      Method deletePosition
    • getActionCommand

      public String getActionCommand()
      Returns the value of field 'actionCommand'.
      Returns:
      the value of field 'actionCommand'.
    • getAccelerator

      public String getAccelerator()
      Returns the value of field 'accelerator'.
      Returns:
      the value of field 'accelerator'.
    • getIcon

      public String 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

      public String getLabel()
      Returns the value of field 'label'.
      Returns:
      the value of field 'label'.
    • getTooltip

      public String 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

      public String 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.MarshalException
      org.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:
      IOException
      org.exolab.castor.xml.MarshalException
      org.exolab.castor.xml.ValidationException
    • setActionCommand

      public void setActionCommand(String actionCommand)
      Sets the value of field 'actionCommand'.
      Parameters:
      actionCommand - the value of field 'actionCommand'.
    • setAccelerator

      public void setAccelerator(String accelerator)
      Sets the value of field 'accelerator'.
      Parameters:
      accelerator - the value of field 'accelerator'.
    • setIcon

      public void setIcon(String icon)
      Sets the value of field 'icon'.
      Parameters:
      icon - the value of field 'icon'.
    • setName

      public void setName(String name)
      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

      public void setLabel(String label)
      Sets the value of field 'label'.
      Parameters:
      text - the value of field 'label'.
    • setTooltip

      public void setTooltip(String tooltip)
      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.MarshalException
      org.exolab.castor.xml.ValidationException
    • validate

      public void validate() throws org.exolab.castor.xml.ValidationException
      Method validate
      Throws:
      org.exolab.castor.xml.ValidationException
    • toString

      public String toString()
      Overrides:
      toString in class Object