public class PopupMenu
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PopupMenu() |
Modifier and Type | Method and Description |
---|---|
void |
addMenu(int index,
Menu vMenu)
Method addMenu
|
void |
addMenu(Menu vMenu)
Method addMenu
|
java.util.Enumeration |
enumerateMenu()
Method enumerateMenu
|
Menu[] |
getMenu()
Method getMenu
|
Menu |
getMenu(int index)
Method getMenu
|
int |
getMenuCount()
Method getMenuCount
|
java.lang.String |
getName()
Returns the value of field 'name'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal
|
void |
marshal(java.io.Writer out)
Method marshal
|
void |
removeAllMenu()
Method removeAllMenu
|
Menu |
removeMenu(int index)
Method removeMenu
|
void |
setMenu(int index,
Menu vMenu)
Method setMenu
|
void |
setMenu(Menu[] menuArray)
Method setMenu
|
void |
setName(java.lang.String name)
Sets the value of field 'name'.
|
static java.lang.Object |
unmarshal(java.io.Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addMenu(Menu vMenu) throws java.lang.IndexOutOfBoundsException
vMenu
- java.lang.IndexOutOfBoundsException
public void addMenu(int index, Menu vMenu) throws java.lang.IndexOutOfBoundsException
index
- vMenu
- java.lang.IndexOutOfBoundsException
public java.util.Enumeration enumerateMenu()
public Menu getMenu(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
public Menu[] getMenu()
public int getMenuCount()
public java.lang.String getName()
public boolean isValid()
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 removeAllMenu()
public Menu removeMenu(int index)
index
- public void setMenu(int index, Menu vMenu) throws java.lang.IndexOutOfBoundsException
index
- vMenu
- java.lang.IndexOutOfBoundsException
public void setMenu(Menu[] menuArray)
menuArray
- public void setName(java.lang.String name)
name
- the value of field 'name'.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