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

Class sunsoft.jws.visual.rt.shadow.TextListShadow

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

public class TextListShadow
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
    -----------------------------------------------------------------------
    items           [Ljava.lang.String;       null
    selectedItem    java.lang.String          null
    visibleRows     java.lang.Integer         10 
visibleRows: how many rows are visible in the list, changing the number affects the size of the component in the vertical dimension.

Check the super class for additional attributes.

See Also:
TextList, StringVector

Constructor Index

 o TextListShadow()

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

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