All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.MultiColumnListGadget

java.lang.Object
   |
   +----dtai.gwt.Gadget
           |
           +----dtai.gwt.ContainerGadget
                   |
                   +----dtai.gwt.PanelGadget
                           |
                           +----dtai.gwt.BorderGadget
                                   |
                                   +----dtai.gwt.ScrollPaneGadget
                                           |
                                           +----dtai.gwt.GridGadget
                                                   |
                                                   +----dtai.gwt.MultiColumnListGadget

public class MultiColumnListGadget
extends GridGadget
A scrolling list of text items.


Constructor Index

 o MultiColumnListGadget()
Creates a new scrolling list initialized with no visible Lines or multiple selections.
 o MultiColumnListGadget(int)
Creates a new scrolling list initialized with the specified number of visible lines.
 o MultiColumnListGadget(int, boolean)
Creates a new scrolling list initialized with the specified number of visible lines and a boolean stating whether multiple selections are allowed or not.

Method Index

 o getCell(int, int)
Gets the label with the specified index.
 o setCell(int, int, String)
setCell

Constructors

 o MultiColumnListGadget
 public MultiColumnListGadget()
Creates a new scrolling list initialized with no visible Lines or multiple selections.

 o MultiColumnListGadget
 public MultiColumnListGadget(int rows)
Creates a new scrolling list initialized with the specified number of visible lines. Multiple selections are not allowed.

Parameters:
rows - - the number of items to show.
 o MultiColumnListGadget
 public MultiColumnListGadget(int rows,
                              boolean multipleMode)
Creates a new scrolling list initialized with the specified number of visible lines and a boolean stating whether multiple selections are allowed or not.

Parameters:
rows - - the number of items to show.
multipleMode - - if true then multiple selections are allowed.

Methods

 o setCell
 public void setCell(int rowIndex,
                     int columnIndex,
                     String value)
setCell

Parameters:
rowindex - - the position of the row
columnindex - - the position of the column
value - - the label for the CellGadget at the specified index
 o getCell
 public String getCell(int rowIndex,
                       int columnIndex)
Gets the label with the specified index.

Parameters:
rowindex - - the position of the row
columnindex - - the position of the column
Returns:
label of the cellGadget at the specified index
See Also:
getItemCount

All Packages  Class Hierarchy  This Package  Previous  Next  Index