jscicalc.HistoryItem Class Reference

Used by CalculatorApplet so that UpButton and DownButton can work. More...

Collaboration diagram for jscicalc.HistoryItem:

Collaboration graph
[legend]

List of all members.

Public Attributes

java.util.LinkedList< PObjectlist
 A list that Parser can use.
AngleType angleType
 Degrees or radians.
Base base
 Base.DECIMAL, Base.BINARY, Base.OCTAL or Base.HEXADECIMAL.
Notation notation
 Notation used for results.

Package Functions

 HistoryItem (java.util.LinkedList< PObject > list, AngleType angleType, Base base, Notation notation)
 Constructor.


Detailed Description

Used by CalculatorApplet so that UpButton and DownButton can work.

Stores all the information needed on current item so that it can be recalled later.

I’m not sure what the impact of not storing stat mode is. Probably it allows some strange, but not problematic, possibilities.

Author:
J. D. Lamb
Version:
Revision
1.4

Constructor & Destructor Documentation

jscicalc.HistoryItem.HistoryItem ( java.util.LinkedList< PObject list,
AngleType  angleType,
Base  base,
Notation  notation 
) [package]

Constructor.

Stores what we may need to recall.

Parameters:
list A list that can be transferred to Parser object
angleType Degrees or Radians
base The Base: we wouldn’t want to parse a hexadecimal as binary
notation The notation type in use: this might not be necessary.

References jscicalc.HistoryItem.list.


Member Data Documentation

java.util.LinkedList<PObject> jscicalc.HistoryItem.list


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

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