com.iver.andami.plugins.config.generate
Class Menu

java.lang.Object
  extended bycom.iver.andami.plugins.config.generate.Menu
All Implemented Interfaces:
java.io.Serializable

public class Menu
extends java.lang.Object
implements java.io.Serializable

Class Menu.

Version:
$Revision: 1935 $ $Date: 2005-05-13 13:00:46 +0200 (Fri, 13 May 2005) $
See Also:
Serialized Form

Constructor Summary
Menu()
           
 
Method Summary
 void deletePosition()
          Method deletePosition
 java.lang.String getActionCommand()
          Returns the value of field 'actionCommand'.
 java.lang.String getEnableText()
          Returns the value of field 'enableText'.
 java.lang.String getIcon()
          Returns the value of field 'icon'.
 java.lang.String getKey()
          Returns the value of field 'key'.
 java.lang.String getMnemonic()
          Returns the value of field 'mnemonic'.
 int getPosition()
          Returns the value of field 'position'.
 java.lang.String getText()
          Returns the value of field 'text'.
 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 setActionCommand(java.lang.String actionCommand)
          Sets the value of field 'actionCommand'.
 void setEnableText(java.lang.String enableText)
          Sets the value of field 'enableText'.
 void setIcon(java.lang.String icon)
          Sets the value of field 'icon'.
 void setKey(java.lang.String key)
          Sets the value of field 'key'.
 void setMnemonic(java.lang.String mnemonic)
          Sets the value of field 'mnemonic'.
 void setPosition(int position)
          Sets the value of field 'position'.
 void setText(java.lang.String text)
          Sets the value of field 'text'.
 void setTooltip(java.lang.String tooltip)
          Sets the value of field 'tooltip'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Menu

public Menu()
Method Detail

deletePosition

public void deletePosition()
Method deletePosition


getActionCommand

public java.lang.String getActionCommand()
Returns the value of field 'actionCommand'.

Returns:
the value of field 'actionCommand'.

getEnableText

public java.lang.String getEnableText()
Returns the value of field 'enableText'.

Returns:
the value of field 'enableText'.

getIcon

public java.lang.String getIcon()
Returns the value of field 'icon'.

Returns:
the value of field 'icon'.

getKey

public java.lang.String getKey()
Returns the value of field 'key'.

Returns:
the value of field 'key'.

getMnemonic

public java.lang.String getMnemonic()
Returns the value of field 'mnemonic'.

Returns:
the value of field 'mnemonic'.

getPosition

public int getPosition()
Returns the value of field 'position'.

Returns:
the value of field 'position'.

getText

public java.lang.String getText()
Returns the value of field 'text'.

Returns:
the value of field 'text'.

getTooltip

public java.lang.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


marshal

public void marshal(java.io.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(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setActionCommand

public void setActionCommand(java.lang.String actionCommand)
Sets the value of field 'actionCommand'.

Parameters:
actionCommand - the value of field 'actionCommand'.

setEnableText

public void setEnableText(java.lang.String enableText)
Sets the value of field 'enableText'.

Parameters:
enableText - the value of field 'enableText'.

setIcon

public void setIcon(java.lang.String icon)
Sets the value of field 'icon'.

Parameters:
icon - the value of field 'icon'.

setKey

public void setKey(java.lang.String key)
Sets the value of field 'key'.

Parameters:
key - the value of field 'key'.

setMnemonic

public void setMnemonic(java.lang.String mnemonic)
Sets the value of field 'mnemonic'.

Parameters:
mnemonic - the value of field 'mnemonic'.

setPosition

public void setPosition(int position)
Sets the value of field 'position'.

Parameters:
position - the value of field 'position'.

setText

public void setText(java.lang.String text)
Sets the value of field 'text'.

Parameters:
text - the value of field 'text'.

setTooltip

public void setTooltip(java.lang.String tooltip)
Sets the value of field 'tooltip'.

Parameters:
tooltip - the value of field 'tooltip'.

unmarshal

public static java.lang.Object unmarshal(java.io.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