Class PopupMenu

java.lang.Object
org.gvsig.andami.plugins.config.generate.PopupMenu
All Implemented Interfaces:
Serializable

public class PopupMenu extends Object implements Serializable
Class PopupMenu.
Version:
$Revision: 29593 $ $Date: 2009-06-29 17:54:31 +0200 (lun, 29 jun 2009) $
See Also:
  • Constructor Details

    • PopupMenu

      public PopupMenu()
  • Method Details

    • addMenu

      public void addMenu(Menu vMenu) throws IndexOutOfBoundsException
      Method addMenu
      Parameters:
      vMenu -
      Throws:
      IndexOutOfBoundsException
    • addMenu

      public void addMenu(int index, Menu vMenu) throws IndexOutOfBoundsException
      Method addMenu
      Parameters:
      index -
      vMenu -
      Throws:
      IndexOutOfBoundsException
    • enumerateMenu

      public Enumeration enumerateMenu()
      Method enumerateMenu
    • getMenu

      public Menu getMenu(int index) throws IndexOutOfBoundsException
      Method getMenu
      Parameters:
      index -
      Throws:
      IndexOutOfBoundsException
    • getMenu

      public Menu[] getMenu()
      Method getMenu
    • getMenuCount

      public int getMenuCount()
      Method getMenuCount
    • getName

      public String 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.MarshalException
      org.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:
      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 IndexOutOfBoundsException
      Method setMenu
      Parameters:
      index -
      vMenu -
      Throws:
      IndexOutOfBoundsException
    • setMenu

      public void setMenu(Menu[] menuArray)
      Method setMenu
      Parameters:
      menuArray -
    • setName

      public void setName(String name)
      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.MarshalException
      org.exolab.castor.xml.ValidationException
    • validate

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