jsm

Class GLOBALS

Object
   |
   +--GLOBALS

class GLOBALS

 
Method Summary
<static> <private>  void _jsmHideTable(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           Will be called by the jsmHideTableActionCell
<static> <private>  void _jsmOnAddRow(<JsmTable> table)
           Will be called by the jsmAddRowActionTh
<static> <private>  void _jsmOnChangeEventDelegate(e)
           Will be called by for on change events; retrieves the attached model from the node object
<static> <private>  void _jsmOnClickEventDelegate(e)
           Will be called by for onclick-events; retrieves the attached model from the node object and then calls the attached onClickFunction handing over the appropriate arguments This is neccessary to avoid closures but still be able to hand over user friendly parameters and not let the user work with this.model
<static> <private>  void _jsmOnDeleteRow(<JsmTable> table, <int> rowIdx)
           Will be called by the jsmDeleteRowActionTd
<static> <private>  void _jsmOnEditRow(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           Will be called by the jsmEditRowActionTd
<static> <private>  void _jsmOnGotoFirstPage(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           Will be called by the jsmGotoFirstPageActionCell
<static> <private>  void _jsmOnGotoLastPage(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           Will be called by the jsmGotoLastPageActionCell
<static> <private>  void _jsmOnGotoNextPage(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           Will be called by the jsmGotoNextPageActionCell
<static> <private>  void _jsmOnGotoPreviousPage(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           Will be called by the jsmGotoPreviousPageActionCell
<static> <private>  void _jsmOnKeyUpEventDelegate(e)
           Will be called by for on key up events; retrieves the attached model from the node object
<static> <private>  void _jsmOnMouseDownEventDelegate(e)
           Will be called by for onmousedown-events; retrieves the attached model from the node object This is neccessary to avoid closures
<static> void _jsmOnMouseMoveEventDelegate(e)
          
<static> <private>  void _jsmOnMouseUpEventDelegate(e)
           Will be called by for onmouseup-events; retrieves the attached model from the node object This is neccessary to avoid closures
<static> <private>  void _jsmOnSaveRow(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           Will be called by the jsmEditRowActionTd
<static> <private>  void _jsmShowOnlyHeader(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           Will be called by the jsmShowOnlyHeaderActionTh
<static> void jsmAddMessage(<Html> theHTML, <int> timeout, <boolean> warn)
           Will add a message to the page if an element with the id='jsmMessage' has been specified
<static> void jsmAppendMessage(<Html> theHTML, <int> timeout, <boolean> warn)
           Will append a message to the page if an element with the id='jsmMessage' has been specified
<static> void jsmClearMessage()
           Clear the messages off the page in element with the id='jsmMessage'
<static> void jsmCopySelectedOptions(<Node> fromSelectBox,<Node> toSelectBox)
           Move selected value from one selectbox to the other
<static> void jsmEmptyFunction()
           an empty function doing nothing
<static> String jsmGetLabels(<Node> selectBox, <String> delimiter)
           Get a delimiter separated list of all the select box labels
<static> String jsmGetValues(<Node> selectBox)
           Get a JSON-Array style list of all the select box values, eg.
<static> void jsmHangOntoSelectedWidgetNodes(<Node> theNode)
           Stick all selected widget nodes into the global var jsmSelectedWidgetNodes
IE will set the checked and selected flags of a widget-node to false as soon as the node is appended to another node therefore I stick the checkbox-nodes and option-nodes which are selected into an array later for example the table.render()-method will make sure they get selected
<static> void jsmOnAddRow(<JsmTable> table, <int> rowIdx)
           Will be called by the after the the add row button has been clicked; define your own version of this function if needed
<static> void jsmOnDeleteRow(<JsmTable> table, <int> rowIdx)
           Will be called by the after the the delete button has been clicked; define your own version of this function if needed
<static> void jsmOnEditRow(<JsmTable> table, <int> rowIdx)
           Will be called by the after the the edit button has been clicked; define your own version of this function if needed
<static> void jsmOnSaveRow(<JsmTable> table, <int> rowIdx)
           Will be called by the after the the save button has been clicked; define your own version of this function if needed
<static> void jsmOnTableCellClick(<JsmTable> table, <int> rowIdx, <int> columnIdx)
           The default event handler for a table data cell click event (only called if the .setOnClick-method has not be used); define your own version of this function if needed
<static> void jsmOnTableHeaderClick(<JsmTable> table, <int> columnIdx)
           The default event handler for a table header cell click event (only called if the .setOnClick-method has not be used); define your own version of this function if needed
<static> void jsmOnTableRowClick(<JsmTable> table, <int> rowIdx)
           The default event handler for a table row click event (only called if the .setOnClick-method has not be used); define your own version of this function if needed
<static> void jsmSelectWidgetNodes()
           Select all nodes contained in this array and remove nodes from the global var jsmSelectedWidgetNodes
<static> void pause(<int> milliSecs)
           Pause the java script execution - will take over all processor resources because it uses a while loop


Method Detail

_jsmHideTable

<static>  <private> void _jsmHideTable(<JsmTable> table, <int> rowIdx, <int> columnIdx)

_jsmOnAddRow

<static>  <private> void _jsmOnAddRow(<JsmTable> table)

_jsmOnChangeEventDelegate

<static>  <private> void _jsmOnChangeEventDelegate(e)

_jsmOnClickEventDelegate

<static>  <private> void _jsmOnClickEventDelegate(e)

_jsmOnDeleteRow

<static>  <private> void _jsmOnDeleteRow(<JsmTable> table, <int> rowIdx)

_jsmOnEditRow

<static>  <private> void _jsmOnEditRow(<JsmTable> table, <int> rowIdx, <int> columnIdx)

_jsmOnGotoFirstPage

<static>  <private> void _jsmOnGotoFirstPage(<JsmTable> table, <int> rowIdx, <int> columnIdx)

_jsmOnGotoLastPage

<static>  <private> void _jsmOnGotoLastPage(<JsmTable> table, <int> rowIdx, <int> columnIdx)

_jsmOnGotoNextPage

<static>  <private> void _jsmOnGotoNextPage(<JsmTable> table, <int> rowIdx, <int> columnIdx)

_jsmOnGotoPreviousPage

<static>  <private> void _jsmOnGotoPreviousPage(<JsmTable> table, <int> rowIdx, <int> columnIdx)

_jsmOnKeyUpEventDelegate

<static>  <private> void _jsmOnKeyUpEventDelegate(e)

_jsmOnMouseDownEventDelegate

<static>  <private> void _jsmOnMouseDownEventDelegate(e)

_jsmOnMouseMoveEventDelegate

<static> void _jsmOnMouseMoveEventDelegate(e)

_jsmOnMouseUpEventDelegate

<static>  <private> void _jsmOnMouseUpEventDelegate(e)

_jsmOnSaveRow

<static>  <private> void _jsmOnSaveRow(<JsmTable> table, <int> rowIdx, <int> columnIdx)

_jsmShowOnlyHeader

<static>  <private> void _jsmShowOnlyHeader(<JsmTable> table, <int> rowIdx, <int> columnIdx)

jsmAddMessage

<static> void jsmAddMessage(<Html> theHTML, <int> timeout, <boolean> warn)

jsmAppendMessage

<static> void jsmAppendMessage(<Html> theHTML, <int> timeout, <boolean> warn)

jsmClearMessage

<static> void jsmClearMessage()

jsmCopySelectedOptions

<static> void jsmCopySelectedOptions(<Node> fromSelectBox,<Node> toSelectBox)

jsmEmptyFunction

<static> void jsmEmptyFunction()

jsmGetLabels

<static> String jsmGetLabels(<Node> selectBox, <String> delimiter)

jsmGetValues

<static> String jsmGetValues(<Node> selectBox)

jsmHangOntoSelectedWidgetNodes

<static> void jsmHangOntoSelectedWidgetNodes(<Node> theNode)

jsmOnAddRow

<static> void jsmOnAddRow(<JsmTable> table, <int> rowIdx)

jsmOnDeleteRow

<static> void jsmOnDeleteRow(<JsmTable> table, <int> rowIdx)

jsmOnEditRow

<static> void jsmOnEditRow(<JsmTable> table, <int> rowIdx)

jsmOnSaveRow

<static> void jsmOnSaveRow(<JsmTable> table, <int> rowIdx)

jsmOnTableCellClick

<static> void jsmOnTableCellClick(<JsmTable> table, <int> rowIdx, <int> columnIdx)

jsmOnTableHeaderClick

<static> void jsmOnTableHeaderClick(<JsmTable> table, <int> columnIdx)

jsmOnTableRowClick

<static> void jsmOnTableRowClick(<JsmTable> table, <int> rowIdx)

jsmSelectWidgetNodes

<static> void jsmSelectWidgetNodes()

pause

<static> void pause(<int> milliSecs)

jsm

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