Class sunsoft.jws.visual.rt.shadow.java.awt.ChoiceShadow
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.shadow.java.awt.ChoiceShadow

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.ChoiceShadow

public class ChoiceShadow
extends ComponentShadow
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
    -----------------------------------------------------------------------
    items           [Ljava.lang.String;       item1,item2 
    selectedItem    java.lang.String          "" 
selectedItem: is the item (amoung the the strings in the "items" attribute) that is currently showing in the choice field. This attribute is not available in the attribute editor, but is instead expected to be used programmatically to change the setting on the choice as the result of a callback or some such.

Check the super class for additional attributes.

See Also:
Choice

Constructor Index

 o ChoiceShadow()

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 ChoiceShadow
  public ChoiceShadow()

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 ComponentShadow

All Packages  Class Hierarchy  This Package  Previous  Next  Index