public class PopupMenu extends Object implements 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
|
Enumeration |
enumerateMenu()
Method enumerateMenu
|
Menu[] |
getMenu()
Method getMenu
|
Menu |
getMenu(int index)
Method getMenu
|
int |
getMenuCount()
Method getMenuCount
|
String |
getName()
Returns the value of field 'name'.
|
boolean |
isValid()
Method isValid
|
void |
marshal(ContentHandler handler)
Method marshal
|
void |
marshal(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(String name)
Sets the value of field 'name'.
|
static Object |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void addMenu(Menu vMenu) throws IndexOutOfBoundsException
vMenu
- IndexOutOfBoundsException
public void addMenu(int index, Menu vMenu) throws IndexOutOfBoundsException
index
- vMenu
- IndexOutOfBoundsException
public Enumeration enumerateMenu()
public Menu getMenu(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
public Menu[] getMenu()
public int getMenuCount()
public String getName()
public boolean isValid()
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 removeAllMenu()
public Menu removeMenu(int index)
index
- public void setMenu(int index, Menu vMenu) throws IndexOutOfBoundsException
index
- vMenu
- IndexOutOfBoundsException
public void setMenu(Menu[] menuArray)
menuArray
- public void setName(String name)
name
- the value of field 'name'.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