Class PopupMenu
java.lang.Object
org.gvsig.andami.plugins.config.generate.PopupMenu
- All Implemented Interfaces:
Serializable
Class PopupMenu.
- Version:
- $Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod addMenuvoidMethod addMenuMethod enumerateMenuMenu[]getMenu()Method getMenugetMenu(int index) Method getMenuintMethod getMenuCountgetName()Returns the value of field 'name'.booleanisValid()Method isValidvoidMethod marshalvoidmarshal(ContentHandler handler) Method marshalvoidMethod removeAllMenuremoveMenu(int index) Method removeMenuvoidMethod setMenuvoidMethod setMenuvoidSets the value of field 'name'.static ObjectMethod unmarshalvoidvalidate()Method validate
-
Constructor Details
-
PopupMenu
public PopupMenu()
-
-
Method Details
-
addMenu
Method addMenu- Parameters:
vMenu-- Throws:
IndexOutOfBoundsException
-
addMenu
Method addMenu- Parameters:
index-vMenu-- Throws:
IndexOutOfBoundsException
-
enumerateMenu
Method enumerateMenu -
getMenu
Method getMenu- Parameters:
index-- Throws:
IndexOutOfBoundsException
-
getMenu
Method getMenu -
getMenuCount
public int getMenuCount()Method getMenuCount -
getName
Returns the value of field 'name'.- Returns:
- the value of field 'name'.
-
isValid
public boolean isValid()Method isValid -
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
-
removeAllMenu
public void removeAllMenu()Method removeAllMenu -
removeMenu
Method removeMenu- Parameters:
index-
-
setMenu
Method setMenu- Parameters:
index-vMenu-- Throws:
IndexOutOfBoundsException
-
setMenu
Method setMenu- Parameters:
menuArray-
-
setName
Sets the value of field 'name'.- Parameters:
name- the value of field 'name'.
-
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
-