Changeset 14740


Ignore:
Timestamp:
12/08/12 13:28:02 (12 years ago)
Author:
tbretz
Message:
Added description for new function dim.getStates
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/doc/dim.js

    r14696 r14740  
    140140/**
    141141 *
     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 */
     159dim.getStates = function() { /* [native code] */ }
     160
     161/**
     162 *
    142163 * Callback in case of state changes.
    143164 *
     
    165186dim.onchange = [];
    166187
     188
    167189/**
    168190 * DIM version number
Note: See TracChangeset for help on using the changeset viewer.