jscicalc.button.ModeButton Class Reference

Button to change mode. More...

Inheritance diagram for jscicalc.button.ModeButton:

jscicalc.button.CalculatorButton
Collaboration diagram for jscicalc.button.ModeButton:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ModeButton (CalculatorApplet applet)
 Constructor.
void actionPerformed (java.awt.event.ActionEvent actionEvent)
 Probably the strangest button: it only changes the state of CalculatorApplet and so it simply passes the fact a button was pressed straight to the CalculatorApplet object.

Static Private Attributes

static final long serialVersionUID = 1L


Detailed Description

Button to change mode.

Author:
J. D. Lamb
Version:
Revision
1.4

Constructor & Destructor Documentation

jscicalc.button.ModeButton.ModeButton ( CalculatorApplet  applet  ) 


Member Function Documentation

void jscicalc.button.ModeButton.actionPerformed ( java.awt.event.ActionEvent  actionEvent  ) 

Probably the strangest button: it only changes the state of CalculatorApplet and so it simply passes the fact a button was pressed straight to the CalculatorApplet object.

Parameters:
actionEvent The event that generated this method call: usually a button press or called when CalculatorApplet responded to the key associated with this button

Reimplemented from jscicalc.button.CalculatorButton.

References jscicalc.button.CalculatorButton.applet, jscicalc.button.CalculatorButton.getApplet(), jscicalc.CalculatorApplet.getOn(), jscicalc.CalculatorApplet.setMode(), jscicalc.CalculatorApplet.setShift(), and jscicalc.CalculatorApplet.updateDisplay().


Member Data Documentation

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

Reimplemented from jscicalc.button.CalculatorButton.


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

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