Public Member Functions | Static Public Member Functions | Static Private Attributes

jscicalc.pobject.Mean Class Reference

Container to hold most recently evaluated mean value. More...

Collaboration diagram for jscicalc.pobject.Mean:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Mean ()
 Constructor.
void setError (boolean error)
 Set the Container error state.
void setValue (double d)
 Set the value of this Container.
void setValue (Complex c)
 Set the value of this Container.
String[] name_array ()
 Array used to construct name() and shortName() String objects.

Static Public Member Functions

static void main (String args[])

Static Private Attributes

static final String[] fname = { "m", "e", "a", "n" }

Detailed Description

Container to hold most recently evaluated mean value.

Author:
J. D. Lamb
Version:
Revision:
1.6

Constructor & Destructor Documentation

jscicalc.pobject.Mean.Mean (  ) 

Constructor.

Sets a tooltip and shortcut.

References jscicalc.pobject.PObject.fshortcut, and jscicalc.pobject.PObject.ftooltip.

Referenced by jscicalc.pobject.Mean.main().


Member Function Documentation

static void jscicalc.pobject.Mean.main ( String  args[]  )  [static]
String [] jscicalc.pobject.Mean.name_array (  )  [virtual]

Array used to construct name() and shortName() String objects.

Returns:
an array

Implements jscicalc.pobject.PObject.

References jscicalc.pobject.Mean.fname.

void jscicalc.pobject.Mean.setError ( boolean  error  ) 

Set the Container error state.

Parameters:
error Error state

Referenced by jscicalc.CalculatorApplet.statMean().

void jscicalc.pobject.Mean.setValue ( Complex  c  ) 

Set the value of this Container.

Parameters:
c The value to store.
void jscicalc.pobject.Mean.setValue ( double  d  ) 

Set the value of this Container.

Parameters:
d The value to store.

Referenced by jscicalc.CalculatorApplet.statMean().


Member Data Documentation

final String [] jscicalc.pobject.Mean.fname = { "m", "e", "a", "n" } [static, private]

The documentation for this class was generated from the following file: