|
jsm | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Jsm
Singleton holding global variables and functions; do not instantiate; use the existing variable jsm
Defined in net/sf/jsm/++jsmCore.js
Field Summary | |
<private> Object |
resize
should we resize (true if the mouse button is clicked) |
<private> Object |
resizeColumn
which column to resize |
<private> Object |
resizeOriginalWidth
original width of the column |
<private> Object |
resizeStartX
x-position where we started the resize |
Constructor Summary | |
Jsm
()
Singleton holding global variables and functions; do not instantiate; use the existing variable jsm |
Method Summary | |
boolean
|
arrayContains(theArray, obj)
Does the array contain this object |
int
|
arrayIndexOf(theArray, obj, fromIndex)
Gets the index of an element in an array. |
boolean
|
arrayOfSameValues(theArray, theOtherArray)
Do the two arrays contain the same values? |
void
|
jsmApplyTableFilter(<String> tableVariableName)
On the specified table will remove all filters then iterate thru all form elements and create filters for appropriate ones (based on a naming convention 'jsmFilter |
void
|
jsmResetTableFilter(<String> tableVariableName)
Resets values on filter elements for specified table |
boolean
|
noud(item)
Null or undefined |
void
|
openMessageWindow(message, width, height, bgColor)
Opens a window in the center of the screen to display a message; |
String
|
trim(<String> theString)
Trims string left and right |
Field Detail |
<private> Object resize
<private> Object resizeColumn
<private> Object resizeOriginalWidth
<private> Object resizeStartX
Constructor Detail |
Jsm()
Method Detail |
boolean arrayContains(theArray, obj)
theArray
-
obj
-
int arrayIndexOf(theArray, obj, fromIndex)
theArray
-
obj
-
fromIndex
-
boolean arrayOfSameValues(theArray, theOtherArray)
theArray
-
theOtherArray
-
void jsmApplyTableFilter(<String> tableVariableName)
tableVariableName
- The name of the variable holding the JsmTable
void jsmResetTableFilter(<String> tableVariableName)
tableVariableName
- The name of the variable holding the JsmTable
boolean noud(item)
The
- item to inspect
void openMessageWindow(message, width, height, bgColor)
message
- The message to display: can contain HTML-Tags
width
- The widht; can be null; default: 400
height
- The height; can be null; default: 170
bgColor
- The background color of the window; can be null; default: #FFFFFF
String trim(<String> theString)
theString
- The string to trim
|
jsm | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |