| javax.swing.JTextArea com.salmonllc.swing.STextArea
Constructor Summary | |
public | STextArea() Constructs a new TextArea. | public | STextArea(int rows, int columns) Constructs a new empty TextArea with the specified number of
rows and columns. | public | STextArea(String text) Constructs a new TextArea with the specified text displayed. | public | STextArea(String text, int rows, int columns) Constructs a new TextArea with the specified text and number
of rows and columns. |
STextArea | public STextArea()(Code) | | Constructs a new TextArea. A default model is set, the initial string
is null, and rows/columns are set to 0.
|
STextArea | public STextArea(int rows, int columns)(Code) | | Constructs a new empty TextArea with the specified number of
rows and columns. A default model is created, and the initial
string is null.
Parameters: rows - the number of rows >= 0 Parameters: columns - the number of columns >= 0 exception: IllegalArgumentException - if the rows or columnsarguments are negative. |
STextArea | public STextArea(String text)(Code) | | Constructs a new TextArea with the specified text displayed.
A default model is created and rows/columns are set to 0.
Parameters: text - the text to be displayed, or null |
STextArea | public STextArea(String text, int rows, int columns)(Code) | | Constructs a new TextArea with the specified text and number
of rows and columns. A default model is created.
Parameters: text - the text to be displayed, or null Parameters: rows - the number of rows >= 0 Parameters: columns - the number of columns >= 0 exception: IllegalArgumentException - if the rows or columnsarguments are negative. |
addValueChangedListener | public void addValueChangedListener(ValueChangedListener l)(Code) | | This method adds a listener the will be notified when the value in this component changes.
Parameters: l - The listener to add. |
generateValueChangedEvent | public ValueChangedEvent generateValueChangedEvent()(Code) | | This method is used by the framework and should not be called directly
|
getHelper | public SComponentHelper getHelper()(Code) | | This method is used by the framework and should not be called directly
|
getMaxLength | public int getMaxLength()(Code) | | Returns the maximum number of characters you are allowed to type in this box
|
getValue | public String getValue()(Code) | | Returns the value of the data in the component
|
removeValueChangedListener | public void removeValueChangedListener(ValueChangedListener l)(Code) | | This method removes a listener from the list that will be notified if the text in the component changes.
Parameters: l - The listener to remove. |
setColumn | public void setColumn(DataStoreBuffer dsb, String column)(Code) | | Binds the component to a DataStore column
Parameters: dsb - The DataStore to bind to Parameters: column - The column to bind to |
setMaxLength | public void setMaxLength(int maxLength)(Code) | | Sets the maximum number of characters you are allowed to type in this box
|
|
|