public class Menu
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Menu() |
Modifier and Type | Method and Description |
---|---|
void |
deleteIs_separator()
Method deleteIs_separator
|
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'.
|
boolean |
getIs_separator()
Returns the value of field 'is_separator'.
|
java.lang.String |
getKey()
Returns the value of field 'key'.
|
java.lang.String |
getMnemonic()
Returns the value of field 'mnemonic'.
|
java.lang.String |
getName()
Returns the value of field 'name'.
|
long |
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 |
hasIs_separator()
Method hasIs_separator
|
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 |
setIs_separator(boolean is_separator)
Sets the value of field 'is_separator'.
|
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 |
setName(java.lang.String name)
Sets the value of field 'name'.
|
void |
setPosition(long 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'.
|
java.lang.String |
toString() |
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void deleteIs_separator()
public void deletePosition()
public java.lang.String getActionCommand()
public java.lang.String getEnableText()
public java.lang.String getIcon()
public boolean getIs_separator()
public java.lang.String getKey()
public java.lang.String getMnemonic()
public long getPosition()
public java.lang.String getText()
public java.lang.String getTooltip()
public boolean hasIs_separator()
public boolean hasPosition()
public boolean isValid()
public java.lang.String getName()
public void marshal(java.io.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(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setActionCommand(java.lang.String actionCommand)
actionCommand
- the value of field 'actionCommand'.public void setEnableText(java.lang.String enableText)
enableText
- the value of field 'enableText'.public void setIcon(java.lang.String icon)
icon
- the value of field 'icon'.public void setIs_separator(boolean is_separator)
is_separator
- the value of field 'is_separator'.public void setKey(java.lang.String key)
key
- the value of field 'key'.public void setMnemonic(java.lang.String mnemonic)
mnemonic
- the value of field 'mnemonic'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setPosition(long position)
position
- the value of field 'position'.public void setText(java.lang.String text)
text
- the value of field 'text'.public void setTooltip(java.lang.String tooltip)
tooltip
- the value of field 'tooltip'.public static java.lang.Object unmarshal(java.io.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
public java.lang.String toString()
toString
in class java.lang.Object