Class sunsoft.jws.visual.rt.shadow.GenericComponentShadow
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.shadow.GenericComponentShadow

java.lang.Object
   |
   +----sunsoft.jws.visual.rt.base.AttributeManager
           |
           +----sunsoft.jws.visual.rt.base.Shadow
                   |
                   +----sunsoft.jws.visual.rt.shadow.java.awt.ComponentShadow
                           |
                           +----sunsoft.jws.visual.rt.shadow.java.awt.CanvasShadow
                                   |
                                   +----sunsoft.jws.visual.rt.shadow.GenericComponentShadow

public class GenericComponentShadow
extends CanvasShadow
Wraps an AWT widget. The attributes available for this class are listed below. In the type column, type names beginning with "sunsoft.jws.visual.rt" have been abbreviated to begin with "rt".
    name            type                      default value
    -----------------------------------------------------------------------
    class           java.lang.String          java.awt.Button 
class: the java class (that must be a sub-class of java.awt.Component and have a null constructor) of a user-written AWT class that there is no wrapper shadow class for yet. GenericComponentShadow is useful for quickly incorporating a user's existing custom AWT components in a Visual Java GUI.

Check the super class for additional attributes.

See Also:
Component, GenericWindowShadow

Constructor Index

 o GenericComponentShadow()

Method Index

 o createBody()
Creates the AWT component for this shadow.
 o getOnBody(String)
Gets attributes from this shadow's body.
 o setOnBody(String, Object)
Sets attributes on this shadow's body.

Constructors

 o GenericComponentShadow
  public GenericComponentShadow()

Methods

 o getOnBody
  protected Object getOnBody(String key)
Gets attributes from this shadow's body.
Overrides:
getOnBody in class ComponentShadow
 o setOnBody
  protected void setOnBody(String key,
                           Object value)
Sets attributes on this shadow's body.
Overrides:
setOnBody in class ComponentShadow
 o createBody
  public void createBody()
Creates the AWT component for this shadow.
Overrides:
createBody in class CanvasShadow

All Packages  Class Hierarchy  This Package  Previous  Next  Index