jscicalc.ShiftPanel Class Reference

CalculatorPanel that gets shown when you press the shift button. More...

Inheritance diagram for jscicalc.ShiftPanel:

jscicalc.CalculatorPanel jscicalc.ShiftStatPanel
Collaboration diagram for jscicalc.ShiftPanel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ShiftPanel (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 when you press the shift button.

Handles inverses of simple scientific functions and less common scientific functions.

Author:
J. D. Lamb
Version:
Revision
1.5

Constructor & Destructor Documentation

jscicalc.ShiftPanel.ShiftPanel ( 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.ShiftPanel.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.

Implements jscicalc.CalculatorPanel.

Reimplemented in jscicalc.ShiftStatPanel.

References jscicalc.CalculatorPanel.buttons(), and jscicalc.CalculatorPanel.createKeyMap().


Member Data Documentation

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

Reimplemented in jscicalc.ShiftStatPanel.


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

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