|
jsm | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--JsmObject
|
+--JsmWidget
|
+--JsmCheckBox
Represents a checkbox
Defined in net/sf/jsm/widgets/jsmCheckBox.js
| Field Summary | |
Object |
notSelectedValue
The value to display if the checkbox is not select |
Object |
selected
Is this checkbox selected |
Object |
selectedValue
The value to display if the checkbox is select |
| Fields inherited from class JsmObject |
className, id, META_DATA_NAME_PROPERTY_PATH, META_DATA_NAME_VALUE, _attributes, _metaData
|
| Constructor Summary | |
JsmCheckBox
(<boolean> selected, <String> selectedValue, <String> notSelectedValue)
Creates a new JsmCheckBox |
|
| Method Summary | |
JsmCheckBox
|
clone()
Clones this JsmCheckBox |
Object
|
getNode()
Returns the node of the view component; the model (this) will be attached to the node as property 'model' |
String
|
getNotSelectedValue(notSelectedValue)
Get the value to display if the checkbox is not selected |
String
|
getSelectedValue(selectedValue)
Get the value to display if the checkbox is selected |
Object
|
init(<JsmTd> theTd)
Init this text field's value from with the tabel cells value |
boolean
|
isSelected()
Is this checkbox selected |
Object
|
setNotSelectedValue(<String> notSelectedValue)
Set the value to display if the checkbox is not selected |
Object
|
setSelected(<boolean> selected)
Specify if this checkbox is selected or not |
Object
|
setSelectedValue(<String> selectedValue)
Set the value to display if the checkbox is selected |
void
|
updateModel(<JsmTable> table, <int> rowIdx, <int> columnIdx, theViewComponent)
Update the tabel model if all validators are passed; will update the value on the hosting {@JsmTd} object |
| Methods inherited from class JsmWidget |
validate, addValidator, getValidators, removeValidators
|
| Methods inherited from class JsmObject |
toString, identify, setId, getId, setAttribute, getAttribute, setMetaData, getMetaData, addAttributesToViewComponent
|
| Field Detail |
Object notSelectedValue
Object selected
Object selectedValue
| Constructor Detail |
JsmCheckBox(<boolean> selected, <String> selectedValue, <String> notSelectedValue)
selected - Is this checkbox selected
selectedValue - The value to display if the checkbox is select
notSelectedValue - The value to display if the checkbox is not select
| Method Detail |
JsmCheckBox clone()
Object getNode()
String getNotSelectedValue(notSelectedValue)
String getSelectedValue(selectedValue)
Object init(<JsmTd> theTd)
theTd - The cell in which this widget is displayed
boolean isSelected()
Object setNotSelectedValue(<String> notSelectedValue)
notSelectedValue -
Object setSelected(<boolean> selected)
selected -
Object setSelectedValue(<String> selectedValue)
selectedValue -
void updateModel(<JsmTable> table, <int> rowIdx, <int> columnIdx, theViewComponent)
table - The table this widget is attached to
rowIdx - The index of the row
columnIdx - The index of the column
theViewComponent -
|
jsm | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||