com.arsdigita.toolbox.ui
Class ComponentSet

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.toolbox.ui.ComponentSet
All Implemented Interfaces:
Cloneable, Component, Lockable, Resettable
Direct Known Subclasses:
ActionGroup

public class ComponentSet
extends SimpleComponent
implements Resettable


Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
ComponentSet()
           
 
Method Summary
 void add(Component component)
           
 Iterator children()
          Returns an iterator over the children of this component.
 boolean contains(Component component)
           
 void generateXML(PageState state, Element parent)
          Adds [J]DOM nodes for this component.
 Component get(int index)
           
 int indexOf(Component component)
           
 void reset(PageState state)
          Resets the state of the component to its original appearance.
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

ComponentSet

public ComponentSet()
Method Detail

reset

public void reset(PageState state)
Description copied from interface: Resettable
Resets the state of the component to its original appearance.

Specified by:
reset in interface Resettable
Parameters:
state - the page state

children

public final Iterator children()
Description copied from interface: Component
Returns an iterator over the children of this component. If the component has no children, returns an empty (not null) iterator.

Specified by:
children in interface Component
Overrides:
children in class SimpleComponent

add

public final void add(Component component)

get

public final Component get(int index)

indexOf

public final int indexOf(Component component)

contains

public final boolean contains(Component component)

generateXML

public void generateXML(PageState state,
                        Element parent)
Description copied from class: SimpleComponent
Adds [J]DOM nodes for this component. Specifically for base class SimpleComponent, does nothing.

Specified by:
generateXML in interface Component
Overrides:
generateXML in class SimpleComponent


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC