Class Index | File Index

Classes


Class jMatrixBrowseNs.Utils

Utils
Defined in: Utils.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Utility functions for jMatrixBrowse.
Method Summary
Method Attributes Method Name and Description
<static>  
jMatrixBrowseNs.Utils.findIndexOfMin(array)
Finds the min and index of min number in the array.
<static>  
jMatrixBrowseNs.Utils.isOverflowing(element, container, overflow)
Check if the given cell is overflowing the container dimensions.
<static>  
jMatrixBrowseNs.Utils.parsePosition(str_position)
Utility function that parses a position (row,col).
Class Detail
jMatrixBrowseNs.Utils()
Utility functions for jMatrixBrowse.
Method Detail
<static> {Number, Number} jMatrixBrowseNs.Utils.findIndexOfMin(array)
Finds the min and index of min number in the array.
Parameters:
{Array} array
- the array to look into.
Returns:
{Number} obj.min - the minimum number in the array.
{Number} obj.minIndex - the index of minimum number in the array.

<static> jMatrixBrowseNs.Utils.isOverflowing(element, container, overflow)
Check if the given cell is overflowing the container dimensions.
Parameters:
{jQuery Object} element
- jQuery object for the element to be checked for overflow.
{jQuery Object} container
- The container against which to check the overflow.
{Number} overflow
- Type of oevrflow to check.
Returns:
true if there is an overflow. false otherwise.

<static> {Object, Number, Number} jMatrixBrowseNs.Utils.parsePosition(str_position)
Utility function that parses a position (row,col).
Parameters:
str_position
Returns:
{Object} position - Object representing the position denoted by the string.
{Number} position.row - row index of the position.
{Number} position.col - column index of the position.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 09 2012 00:23:53 GMT+0200 (CEST)