This is the basic Cell element. It should provides all functionalities that a Table Cell element should have.
This is the basic Cell element. | |
Sets the contents of the cell. | |
Gets the contents of the cell. | |
Adds a widget inside the cell | |
Overloaded method that sets HTML of Contents, never putting empty HTML inside box (otherwise it would not be visible). | |
Overloaded method that returns the HTML of Contents and not the HTML of cell. | |
Sets the selected state of this Cell | |
Switches the actual selected state, turning the cell into selected if it is not and vice-versa | |
Returns the selected state of this Cell | |
Overwritten method that draws TD element instead of DIV | |
Process the modifications needed to achieve the selected mode. | |
Process the modifications needed to achieve the type mode. | |
Method that handles onclick events |
Sets the contents of the cell. | |
Gets the contents of the cell. | |
Adds a widget inside the cell | |
Overloaded method that sets HTML of Contents, never putting empty HTML inside box (otherwise it would not be visible). | |
Overloaded method that returns the HTML of Contents and not the HTML of cell. | |
Sets the selected state of this Cell | |
Switches the actual selected state, turning the cell into selected if it is not and vice-versa | |
Returns the selected state of this Cell | |
Overwritten method that draws TD element instead of DIV | |
Process the modifications needed to achieve the selected mode. | |
Process the modifications needed to achieve the type mode. | |
Method that handles onclick events |
p.populate = function ( data )
Sets the contents of the cell.
data | The contents of the Cell, that can be: |
p.sweepOut = function ()
Gets the contents of the cell.
If the contents of the cell is simply HTML, it is returned, otherwise in case the cell has children, their sweepOut() returned values are grouped in a thyCollection and returned.
Sets the contents of the cell.
p.populate = function ( data )
Gets the contents of the cell.
p.sweepOut = function ()
Adds a widget inside the cell
p.addChild = function ( child )
Overloaded method that sets HTML of Contents, never putting empty HTML inside box (otherwise it would not be visible).
p.setHTML = function ( html )
Overloaded method that returns the HTML of Contents and not the HTML of cell.
p.getHTML = function ()
p.setMode = function( mode )
p.setType = function( type )
Sets the selected state of this Cell
p.setSelected = function( state )
Switches the actual selected state, turning the cell into selected if it is not and vice-versa
p.switchSelectedState = function()
Returns the selected state of this Cell
p.isSelected = function()
Overwritten method that draws TD element instead of DIV
p.getOuterHTML = function ()
Process the modifications needed to achieve the selected mode.
p._processMode = function()
Process the modifications needed to achieve the type mode.
p._processType = function()
Method that handles onclick events
p._selectEvent = function()