jscicalc.pobject.Mean Class Reference

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

Inheritance diagram for jscicalc.pobject.Mean:

jscicalc.pobject.Container jscicalc.pobject.PObject jscicalc.GObject
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

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 ( double  d  ) 

Set the value of this Container.

Parameters:
d The value to store.

Referenced by jscicalc.CalculatorApplet.statMean().

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

Set the value of this Container.

Parameters:
c The value to store.

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.

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


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:

Generated on Sun Jun 1 08:58:43 2008 for Java Scientific Calculator by  doxygen 1.5.5