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

Class sunsoft.jws.visual.rt.base.Root

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

public class Root
extends AttributeManager
implements AMContainer
Instances of the Root class are used for the root of the group's shadow tree. The direct child shadows of an instantiation of this object will typically be top-level windows or the top panel of an applet.

Constructor Index

 o Root()
The constructor defines the Root's attributes.

Method Index

 o add(AttributeManager)
 o addChildBody(Shadow)
 o createChildren()
 o destroyChildren()
 o getChild(String)
 o getChildCount()
 o getChildList()
 o getGroup()
Returns the group for this object, or null if there is none.
 o getMainChild()
Returns the main child of the root.
 o getUserTypeName()
Returns a type name suitable for use in making unique names for instances of this class (or one of its sub-classes).
 o hideRoot()
Unmaps all the children of the root.
 o isLoadedRoot()
Returns the value of the loaded root flag.
 o layoutMode()
Called when Visual Java switches to layout mode.
 o postEvent(Message)
 o postMessage(Message)
Posts a message to this object.
 o postMessageToParent(Message)
Posts a message to this object's parent.
 o previewMode()
Called when Visual Java switches to preview mode.
 o remove(AttributeManager)
 o removeChildBody(Shadow)
 o reparentChildren()
 o resolve(String)
 o setGroup(Group)
 o showRoot()
Maps all the visible children of the root.
 o updateContainerAttribute(AttributeManager, String, Object)

Constructors

 o Root
  public Root()
The constructor defines the Root's attributes.

Methods

 o getUserTypeName
  protected String getUserTypeName()
Returns a type name suitable for use in making unique names for instances of this class (or one of its sub-classes).
Overrides:
getUserTypeName in class AttributeManager
 o isLoadedRoot
  public boolean isLoadedRoot()
Returns the value of the loaded root flag.
 o getMainChild
  public AttributeManager getMainChild()
Returns the main child of the root. This will typically be either a window or a panel.
 o resolve
  public AttributeManager resolve(String name)
Overrides:
resolve in class AttributeManager
 o add
  public void add(AttributeManager child)
 o remove
  public void remove(AttributeManager child)
 o addChildBody
  public void addChildBody(Shadow child)
 o updateContainerAttribute
  public void updateContainerAttribute(AttributeManager child,
                                       String key,
                                       Object value)
 o removeChildBody
  public void removeChildBody(Shadow child)
 o createChildren
  public void createChildren()
 o reparentChildren
  public void reparentChildren()
 o destroyChildren
  public void destroyChildren()
 o getChild
  public AttributeManager getChild(String name)
 o getChildList
  public Enumeration getChildList()
 o getChildCount
  public int getChildCount()
 o setGroup
  public void setGroup(Group group)
 o getGroup
  public Group getGroup()
Returns the group for this object, or null if there is none.
Overrides:
getGroup in class AttributeManager
 o showRoot
  public void showRoot()
Maps all the visible children of the root. Do not call this method directly. It is called from the Group class when the group is shown.
 o hideRoot
  public void hideRoot()
Unmaps all the children of the root. Do not call this method directly. It is called from the Group class when the group is hidden.
 o postMessageToParent
  public void postMessageToParent(Message msg)
Posts a message to this object's parent.
Overrides:
postMessageToParent in class AttributeManager
 o postMessage
  public void postMessage(Message msg)
Posts a message to this object.
Overrides:
postMessage in class AttributeManager
 o postEvent
  public void postEvent(Message msg)
 o layoutMode
  public void layoutMode()
Called when Visual Java switches to layout mode.
Overrides:
layoutMode in class AttributeManager
 o previewMode
  public void previewMode()
Called when Visual Java switches to preview mode.
Overrides:
previewMode in class AttributeManager

All Packages  Class Hierarchy  This Package  Previous  Next  Index