jsm

Class JsmCell

Object
   |
   +--JsmObject
         |
         +--JsmCell
Direct Known Subclasses:
JsmTh, JsmTd, JsmActionCell

class JsmCell
extends JsmObject


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

idx

Object idx

onClickFunctionName

String onClickFunctionName

title

Object title

tr

JsmTr tr

value

Object value

Constructor Detail

JsmCell

JsmCell()

Method Detail

getIndex

int getIndex()

getOnClick

String getOnClick()

getRow

JsmTr getRow()

getTitle

String getTitle()

getValue

String getValue()

setOnClick

Object setOnClick(<String> functionName)

setTitle

Object setTitle(<String> title)

setValue

Object setValue(value)

jsm

Documentation generated by JSDoc on Tue Sep 26 08:42:57 2006