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