All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gwt.StringControl

java.lang.Object
   |
   +----dtai.gwt.Gadget
           |
           +----dtai.gwt.ContainerGadget
                   |
                   +----dtai.gwt.PanelGadget
                           |
                           +----dtai.gwt.BorderGadget
                                   |
                                   +----dtai.gwt.DataControl
                                           |
                                           +----dtai.gwt.StringControl

public class StringControl
extends DataControl
The StringControl class GUI Class for editing string data


Constructor Index

 o StringControl(String)
constructor which creates a string control with the specified label
 o StringControl(String, Object)
constructor which creates a string control with the specified label and data(string)

Method Index

 o getData()
gets the data(string) of the string control
 o setData(Object)
sets the data(string) of the string control

Constructors

 o StringControl
 public StringControl(String label)
constructor which creates a string control with the specified label

Parameters:
label - the label of the string control
 o StringControl
 public StringControl(String label,
                      Object data)
constructor which creates a string control with the specified label and data(string)

Parameters:
label - the label of the string control
data - the data(string) of the string control

Methods

 o setData
 public void setData(Object data)
sets the data(string) of the string control

Parameters:
data - the data(string) of the string control
Overrides:
setData in class DataControl
 o getData
 public Object getData()
gets the data(string) of the string control

Returns:
the data(string) of the string control
Overrides:
getData in class DataControl

All Packages  Class Hierarchy  This Package  Previous  Next  Index