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

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

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

public class ListShadow
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
    -----------------------------------------------------------------------
    allowMultipleSelections java.lang.Boolean false 
    items           [Ljava.lang.String;       item1,item2 
    selectedItem    java.lang.String          null
    visibleRows     java.lang.Integer         4 
selectedItem: is the item (amoung the the strings in the "items" attribute) that is currently showing in the list. This attribute is not available in the attribute editor, but is instead expected to be used programmatically to change or check the setting.

Check the super class for additional attributes.

See Also:
List

Constructor Index

 o ListShadow()

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

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