Class JsmTextField
Object
|
+--JsmObject
|
+--JsmWidget
|
+--JsmTextField
- class
JsmTextField
- extends JsmWidget
Represents a text field
Defined in net/sf/jsm/widgets/jsmTextField.js
Field Summary |
String |
value
The value of the text field |
Constructor Summary |
JsmTextField
(<String> value)
Creates a new JsmTextField
|
Method Summary |
JsmTextField
|
clone()
Clones this JsmTextField
|
Object
|
getNode()
Returns the node of the view component; the model (this) will be attached to the node as property 'model'
|
String
|
getValue()
Get the value of this text field
|
Object
|
init(<JsmTd> theTd)
Init this text field's value from with the tabel cells value
|
Object
|
setValue(value)
Set the value of this text field
|
void
|
updateModel(<JsmTable> table, <int> rowIdx, <int> columnIdx, theViewComponent)
Update the tabel model if all validators are passed
|
value
String value
The value of the text field
JsmTextField
JsmTextField(<String> value)
Creates a new JsmTextField
Parameters:
value
- The value of this text field
clone
JsmTextField clone()
getNode
Object getNode()
Returns the node of the view component; the model (this) will be attached to the node as property 'model'
Returns:
theViewComponent The node of the view component (for example to append to a table cell)
getValue
String getValue()
Get the value of this text field
init
Object init(<JsmTd> theTd)
Init this text field's value from with the tabel cells value
Parameters:
theTd
- The cell in which this widget is displayed
setValue
Object setValue(value)
Set the value of this text field
updateModel
void updateModel(<JsmTable> table, <int> rowIdx, <int> columnIdx, theViewComponent)
Update the tabel model if all validators are passed
Parameters:
table
- The table this widget is attached to
rowIdx
- The index of the row
columnIdx
- The index of the column
Documentation generated by
JSDoc on Tue Sep 26 08:42:57 2006