jscicalc.ShiftHexPanel Class Reference

CalculatorPanel that handse boolean functions (actually just removes some functions) Replaces ShiftPanel if CalculatorApplet base is not Base.DECIMAL. More...

Inheritance diagram for jscicalc.ShiftHexPanel:

jscicalc.CalculatorPanel
Collaboration diagram for jscicalc.ShiftHexPanel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ShiftHexPanel (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 handse boolean functions (actually just removes some functions) Replaces ShiftPanel if CalculatorApplet base is not Base.DECIMAL.

Author:
J. D. Lamb
Version:
Revision
1.4

Constructor & Destructor Documentation

jscicalc.ShiftHexPanel.ShiftHexPanel ( 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.base(), and jscicalc.CalculatorPanel.colour.


Member Function Documentation

void jscicalc.ShiftHexPanel.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.

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


Member Data Documentation

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


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