com.iver.andami.plugins.config.generate
Class PopupMenu

java.lang.Object
  extended bycom.iver.andami.plugins.config.generate.PopupMenu
All Implemented Interfaces:
java.io.Serializable

public class PopupMenu
extends java.lang.Object
implements java.io.Serializable

Class PopupMenu.

Version:
$Revision: 1935 $ $Date: 2005-05-13 13:00:46 +0200 (Fri, 13 May 2005) $
See Also:
Serialized Form

Constructor Summary
PopupMenu()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopupMenu

public PopupMenu()
Method Detail

addMenu

public void addMenu(Menu vMenu)
             throws java.lang.IndexOutOfBoundsException
Method addMenu

Parameters:
vMenu -
Throws:
java.lang.IndexOutOfBoundsException

addMenu

public void addMenu(int index,
                    Menu vMenu)
             throws java.lang.IndexOutOfBoundsException
Method addMenu

Parameters:
index -
vMenu -
Throws:
java.lang.IndexOutOfBoundsException

enumerateMenu

public java.util.Enumeration enumerateMenu()
Method enumerateMenu


getMenu

public Menu getMenu(int index)
             throws java.lang.IndexOutOfBoundsException
Method getMenu

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getMenu

public Menu[] getMenu()
Method getMenu


getMenuCount

public int getMenuCount()
Method getMenuCount


getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
the value of field 'name'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllMenu

public void removeAllMenu()
Method removeAllMenu


removeMenu

public Menu removeMenu(int index)
Method removeMenu

Parameters:
index -

setMenu

public void setMenu(int index,
                    Menu vMenu)
             throws java.lang.IndexOutOfBoundsException
Method setMenu

Parameters:
index -
vMenu -
Throws:
java.lang.IndexOutOfBoundsException

setMenu

public void setMenu(Menu[] menuArray)
Method setMenu

Parameters:
menuArray -

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException