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