com.arsdigita.toolbox.ui
Class ComponentMap

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

public abstract class ComponentMap
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
ComponentMap()
           
 
Method Summary
 Iterator children()
          Returns an iterator over the children of this component.
 boolean containsKey(Object key)
           
 boolean containsValue(Component component)
           
abstract  void generateXML(PageState state, Element parent)
          Adds [J]DOM nodes for this component.
 Component get(Object key)
           
 void put(Object key, 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

ComponentMap

public ComponentMap()
Method Detail

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

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

put

public final void put(Object key,
                      Component component)

get

public final Component get(Object key)

containsKey

public final boolean containsKey(Object key)

containsValue

public final boolean containsValue(Component component)

generateXML

public abstract 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 20 2004:2337 UTC