Public Member Functions | Protected Member Functions | Static Private Attributes

jscicalc.StatPanel Class Reference

CalculatorPanel that gets shown if you are in stat mode. More...

Collaboration diagram for jscicalc.StatPanel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 StatPanel (CalculatorApplet applet, SpecialButtonType sbt, java.awt.Color colour)
 Constructor.

Protected Member Functions

void setButtons ()
 Defines all the standard buttons for this panel.

Static Private Attributes

static final long serialVersionUID = 1L

Detailed Description

CalculatorPanel that gets shown if you are in stat mode.

Currently identical to PlainPanel because the changes to memory buttons are handled through special buttons installed by CalculatorPanel.

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

Constructor & Destructor Documentation

jscicalc.StatPanel.StatPanel ( CalculatorApplet  applet,
SpecialButtonType  sbt,
java.awt.Color  colour 
)

Constructor.

See CalculatorPanel.createCalculatorPanel() to see what this does.

Parameters:
applet The CalculatorApplet object needed for the buttons and DisplayPanel
sbt Used to identify what to construct
colour What colour should the panel background be?

References jscicalc.CalculatorPanel.colour.


Member Function Documentation

void jscicalc.StatPanel.setButtons (  )  [protected, virtual]

Defines all the standard buttons for this panel.

This is where you add new functions or change which button is associated with each function.

Reimplemented from jscicalc.PlainPanel.


Member Data Documentation

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

Reimplemented from jscicalc.PlainPanel.


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