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

String GenericGraphApplet::getParameter ( String  paramName,
String  defaultValue 
) [inline, protected]

Get the value of an applet parameter, but return a default if the value is null.

paramName The name of the applet parameter.
defaultValue The value to be returned if getParameter(paramName) is null.

Reimplemented in DataPlotApplet.

Definition at line 516 of file GenericGraphApplet.java.

References getParameter().

      String val = getParameter(paramName);
      return val == null ? defaultValue : val;

Generated by  Doxygen 1.6.0   Back to index