|
jsm | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--JsmObject
|
+--JsmCell
Base for cells; consider as abstract;
Defined in net/sf/jsm/table/+jsmCell.js
| Field Summary | |
Object |
idx
The index of the column; the column index is zero based |
String |
onClickFunctionName
The name of the function to call on click on a row; defaults to 'jsmOnTableCellClick' |
Object |
title
The title of the cell |
JsmTr |
tr
The row this cell is attached to; null if not yet assigned |
Object |
value
The value of the cell |
| Fields inherited from class JsmObject |
className, id, META_DATA_NAME_PROPERTY_PATH, META_DATA_NAME_VALUE, _attributes, _metaData
|
| Constructor Summary | |
JsmCell
()
Base for cells; consider as abstract; |
|
| Method Summary | |
int
|
getIndex()
Return the column index |
String
|
getOnClick()
|
JsmTr
|
getRow()
|
String
|
getTitle()
Get the title of the cell |
String
|
getValue()
Get the value of the cell |
Object
|
setOnClick(<String> functionName)
Sets the name of the function to call on click on a cell. |
Object
|
setTitle(<String> title)
Set the title of the cell |
Object
|
setValue(value)
Set the value of the cell |
| Methods inherited from class JsmObject |
toString, identify, setId, getId, setAttribute, getAttribute, setMetaData, getMetaData, addAttributesToViewComponent
|
| Field Detail |
Object idx
String onClickFunctionName
Object title
JsmTr tr
Object value
| Constructor Detail |
JsmCell()
| Method Detail |
int getIndex()
String getOnClick()
JsmTr getRow()
String getTitle()
String getValue()
Object setOnClick(<String> functionName)
functionName -
Object setTitle(<String> title)
title -
Object setValue(value)
value - Can be a string which can contain HTML tags; can be an object with a getNode() method; can be a JavaScript expression which will be eval()ed. The expression has to be put in %{}, eg. %{'The cells index: ' + this.getIndex()}
|
jsm | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||