Class sunsoft.jws.visual.rt.base.AMContainerHelper
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.base.AMContainerHelper

java.lang.Object
   |
   +----sunsoft.jws.visual.rt.base.AMContainerHelper

public class AMContainerHelper
extends Object
This is a helper class for shadow containers. Shadow containers are nodes in the shadow tree. A shadow container should implement the AMContainer interface.

Constructor Index

 o AMContainerHelper(AMContainer)
Constructor.

Method Index

 o add(AttributeManager)
Adds a child.
 o createChildren()
Create the container's children.
 o destroyChildren()
Destroy all the children of the container.
 o getChild(String)
Finds a child (by name.)
 o getChildCount()
Returns the number of children in the container.
 o getChildList()
Returns a list of the children that the caller can use only for reading and cannot alter.
 o getChildren()
Returns the list of children this helper is keeping track of for the container.
 o layoutMode()
 o preValidate()
 o previewMode()
 o remove(AttributeManager)
Removes a child.
 o reparentChildren()
Reparent the children of the container.

Constructors

 o AMContainerHelper
  public AMContainerHelper(AMContainer container)
Constructor.

Methods

 o getChildren
  public Vector getChildren()
Returns the list of children this helper is keeping track of for the container.
 o getChildList
  public Enumeration getChildList()
Returns a list of the children that the caller can use only for reading and cannot alter. The list is cloned because the caller might use it for removing children from the container.
 o getChildCount
  public int getChildCount()
Returns the number of children in the container.
 o add
  public void add(AttributeManager child)
Adds a child.
 o remove
  public void remove(AttributeManager child)
Removes a child.
 o getChild
  public AttributeManager getChild(String name)
Finds a child (by name.)
 o createChildren
  public void createChildren()
Create the container's children.
 o destroyChildren
  public void destroyChildren()
Destroy all the children of the container.
 o reparentChildren
  public void reparentChildren()
Reparent the children of the container. This is called when the container is being recreated.
 o layoutMode
  public void layoutMode()
 o previewMode
  public void previewMode()
 o preValidate
  public void preValidate()

All Packages  Class Hierarchy  This Package  Previous  Next  Index