Class Menu
java.lang.Object
org.gvsig.andami.plugins.config.generate.Menu
- All Implemented Interfaces:
Serializable
Class Menu.
- Version:
- $Revision: 38564 $ $Date: 2012-07-16 13:19:13 +0200 (lun, 16 jul 2012) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod deleteIs_separatorvoidMethod deletePositionReturns the value of field 'actionCommand'.Returns the value of field 'enableText'.getIcon()Returns the value of field 'icon'.booleanReturns the value of field 'is_separator'.getKey()Returns the value of field 'key'.Returns the value of field 'mnemonic'.getName()Returns the value of field 'name'.longReturns the value of field 'position'.getText()Returns the value of field 'text'.Returns the value of field 'tooltip'.booleanMethod hasIs_separatorbooleanMethod hasPositionbooleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidsetActionCommand(String actionCommand) Sets the value of field 'actionCommand'.voidsetEnableText(String enableText) Sets the value of field 'enableText'.voidSets the value of field 'icon'.voidsetIs_separator(boolean is_separator) Sets the value of field 'is_separator'.voidSets the value of field 'key'.voidsetMnemonic(String mnemonic) Sets the value of field 'mnemonic'.voidSets the value of field 'name'.voidsetPosition(long position) Sets the value of field 'position'.voidSets the value of field 'text'.voidsetTooltip(String tooltip) Sets the value of field 'tooltip'.toString()static ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
Menu
public Menu()
-
-
Method Details
-
deleteIs_separator
public void deleteIs_separator()Method deleteIs_separator -
deletePosition
public void deletePosition()Method deletePosition -
getActionCommand
Returns the value of field 'actionCommand'.- Returns:
- the value of field 'actionCommand'.
-
getEnableText
Returns the value of field 'enableText'.- Returns:
- the value of field 'enableText'.
-
getIcon
Returns the value of field 'icon'.- Returns:
- the value of field 'icon'.
-
getIs_separator
public boolean getIs_separator()Returns the value of field 'is_separator'.- Returns:
- the value of field 'is_separator'.
-
getKey
Returns the value of field 'key'.- Returns:
- the value of field 'key'.
-
getMnemonic
Returns the value of field 'mnemonic'.- Returns:
- the value of field 'mnemonic'.
-
getPosition
public long getPosition()Returns the value of field 'position'.- Returns:
- the value of field 'position'.
-
getText
Returns the value of field 'text'.- Returns:
- the value of field 'text'.
-
getTooltip
Returns the value of field 'tooltip'.- Returns:
- the value of field 'tooltip'.
-
hasIs_separator
public boolean hasIs_separator()Method hasIs_separator -
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'.
-
setEnableText
Sets the value of field 'enableText'.- Parameters:
enableText- the value of field 'enableText'.
-
setIcon
Sets the value of field 'icon'.- Parameters:
icon- the value of field 'icon'.
-
setIs_separator
public void setIs_separator(boolean is_separator) Sets the value of field 'is_separator'.- Parameters:
is_separator- the value of field 'is_separator'.
-
setKey
Sets the value of field 'key'.- Parameters:
key- the value of field 'key'.
-
setMnemonic
Sets the value of field 'mnemonic'.- Parameters:
mnemonic- the value of field 'mnemonic'.
-
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'.
-
setText
Sets the value of field 'text'.- Parameters:
text- the value of field 'text'.
-
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
-