jscicalc.ExtraPanel Class Reference

This is the little panel that tells you about the state of the calculator. More...

Collaboration diagram for jscicalc.ExtraPanel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExtraPanel (ReadOnlyDisplayPanel panel)
 The constructor.
void paintComponent (java.awt.Graphics graphics)
 This does all the work of updating the component, reading all values directly from DisplayPanel or indirectly from CalculatorApplet.
ReadOnlyDisplayPanel getPanel ()

Private Attributes

ReadOnlyDisplayPanel panel
 The DisplayPanel interface.

Static Private Attributes

static final long serialVersionUID = 1L


Detailed Description

This is the little panel that tells you about the state of the calculator.

Currently it tells you the base (Base.OCTAL, Base.DECIMAL, Base.HEXADECIMAL or Base.BINARY), whether we’re using scientific notation (sci), whether we’re in statistics mode (Stat) whether angles are measured in Degrees or Radians (AngleType) and whether (mem) we’ve a number stored in memory.

Author:
J. D. Lamb
Version:
Revision
1.6

Constructor & Destructor Documentation

jscicalc.ExtraPanel.ExtraPanel ( ReadOnlyDisplayPanel  panel  ) 

The constructor.

Parameters:
panel An interface to the DisplayPanel object


Member Function Documentation

void jscicalc.ExtraPanel.paintComponent ( java.awt.Graphics  graphics  ) 

ReadOnlyDisplayPanel jscicalc.ExtraPanel.getPanel (  ) 

Returns:
The DisplayPanel interface.

References jscicalc.ExtraPanel.panel.

Referenced by jscicalc.ExtraPanel.paintComponent().


Member Data Documentation

The DisplayPanel interface.

Referenced by jscicalc.ExtraPanel.getPanel().

final long jscicalc.ExtraPanel.serialVersionUID = 1L [static, private]


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

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