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.
-
MultiColumnListGadget()
- Creates a new scrolling list initialized with no visible Lines or multiple selections.
-
MultiColumnListGadget(int)
- Creates a new scrolling list initialized with the specified number of
visible lines.
-
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.
-
getCell(int, int)
- Gets the label with the specified index.
-
setCell(int, int, String)
- setCell
MultiColumnListGadget
public MultiColumnListGadget()
- Creates a new scrolling list initialized with no visible Lines or multiple selections.
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.
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.
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
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