Changeset 14740 for trunk/FACT++/scripts
- Timestamp:
- 12/08/12 13:28:02 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/doc/dim.js
r14696 r14740 140 140 /** 141 141 * 142 * Returns a list of all known state of a given server. 143 * 144 * The returned object has all states with their index as property. 145 * Each state is returned as a String object with the property description. 146 * 147 * @param {String} [server='DIM_CONTROL'] 148 * Name of the server for which states should be listed. 149 * The states of the DIM_CONTROl server are the default. 150 * 151 * @type Object[StringObject] 152 * 153 * @example 154 * var states = dim.getStates("SERVER"); 155 * console.out(JSON.stringify(states)); 156 * for (var index in states) 157 * console.out(index+"="+states[index]+": "+states[index].description); 158 */ 159 dim.getStates = function() { /* [native code] */ } 160 161 /** 162 * 142 163 * Callback in case of state changes. 143 164 * … … 165 186 dim.onchange = []; 166 187 188 167 189 /** 168 190 * DIM version number
Note:
See TracChangeset
for help on using the changeset viewer.