Logo Search packages:      
Sourcecode: wims version File versions  Download package

static synchronized void rene::gui::Global::resetDefaults ( String  defaults  )  [inline, static]

Set default values for parameters resetDefaults("default.") is the same as: setParameter("xxx",getParameter("default.xxx","")); if "default.xxx" has a value.


Definition at line 316 of file Global.java.

References resetDefaults().

Referenced by resetDefaults().

      {     Enumeration e=P.keys();
            while (e.hasMoreElements())
            {     String key=(String)e.nextElement();
                  if (key.startsWith(defaults))
                  {     setParameter(key.substring(defaults.length()),

Generated by  Doxygen 1.6.0   Back to index