jscicalc.button.RightButton Class Reference

Move the caret to the right. More...

Inheritance diagram for jscicalc.button.RightButton:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RightButton (CalculatorApplet applet)
 Constructor.
void actionPerformed (java.awt.event.ActionEvent actionEvent)
 Asks CalculatorApplet to move caret to the right.

Static Private Attributes

static final long serialVersionUID = 1L


Detailed Description

Move the caret to the right.

See also:
DisplayLabel
Author:
J. D. Lamb
Version:
Revision
1.7

Constructor & Destructor Documentation

jscicalc.button.RightButton.RightButton ( CalculatorApplet  applet  ) 


Member Function Documentation

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

Asks CalculatorApplet to move caret to the right.

This only happens if the caret can move right. Otherwise th button does nothing.

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.getApplet(), jscicalc.CalculatorApplet.right(), and jscicalc.CalculatorApplet.updateDisplay().


Member Data Documentation

final long jscicalc.button.RightButton.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:55 2008 for Java Scientific Calculator by  doxygen 1.5.5