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

java.lang.Object
  extended bycom.iver.andami.plugins.config.generate.SkinExtensionType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ExtensionType, SkinExtension

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

Class SkinExtensionType.

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

Constructor Summary
SkinExtensionType()
           
 
Method Summary
 void addMenu(int index, Menu vMenu)
          Method addMenu
 void addMenu(Menu vMenu)
          Method addMenu
 void addToolBar(int index, ToolBar vToolBar)
          Method addToolBar
 void addToolBar(ToolBar vToolBar)
          Method addToolBar
 java.util.Enumeration enumerateMenu()
          Method enumerateMenu
 java.util.Enumeration enumerateToolBar()
          Method enumerateToolBar
 java.lang.String getClassName()
          Returns the value of field 'className'.
 Menu[] getMenu()
          Method getMenu
 Menu getMenu(int index)
          Method getMenu
 int getMenuCount()
          Method getMenuCount
 ToolBar[] getToolBar()
          Method getToolBar
 ToolBar getToolBar(int index)
          Method getToolBar
 int getToolBarCount()
          Method getToolBarCount
 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
 void removeAllToolBar()
          Method removeAllToolBar
 Menu removeMenu(int index)
          Method removeMenu
 ToolBar removeToolBar(int index)
          Method removeToolBar
 void setClassName(java.lang.String className)
          Sets the value of field 'className'.
 void setMenu(int index, Menu vMenu)
          Method setMenu
 void setMenu(Menu[] menuArray)
          Method setMenu
 void setToolBar(int index, ToolBar vToolBar)
          Method setToolBar
 void setToolBar(ToolBar[] toolBarArray)
          Method setToolBar
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

SkinExtensionType

public SkinExtensionType()
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

addToolBar

public void addToolBar(ToolBar vToolBar)
                throws java.lang.IndexOutOfBoundsException
Method addToolBar

Parameters:
vToolBar -
Throws:
java.lang.IndexOutOfBoundsException

addToolBar

public void addToolBar(int index,
                       ToolBar vToolBar)
                throws java.lang.IndexOutOfBoundsException
Method addToolBar

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

enumerateMenu

public java.util.Enumeration enumerateMenu()
Method enumerateMenu


enumerateToolBar

public java.util.Enumeration enumerateToolBar()
Method enumerateToolBar


getClassName

public java.lang.String getClassName()
Returns the value of field 'className'.

Returns:
the value of field 'className'.

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


getToolBar

public ToolBar getToolBar(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getToolBar

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getToolBar

public ToolBar[] getToolBar()
Method getToolBar


getToolBarCount

public int getToolBarCount()
Method getToolBarCount


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


removeAllToolBar

public void removeAllToolBar()
Method removeAllToolBar


removeMenu

public Menu removeMenu(int index)
Method removeMenu

Parameters:
index -

removeToolBar

public ToolBar removeToolBar(int index)
Method removeToolBar

Parameters:
index -

setClassName

public void setClassName(java.lang.String className)
Sets the value of field 'className'.

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

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 -

setToolBar

public void setToolBar(int index,
                       ToolBar vToolBar)
                throws java.lang.IndexOutOfBoundsException
Method setToolBar

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

setToolBar

public void setToolBar(ToolBar[] toolBarArray)
Method setToolBar

Parameters:
toolBarArray -

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