Class TheEventHandler

Implemented Interfaces:
ActionListener, AdjustmentListener, FocusListener

(package private) class TheEventHandler
extends java.lang.Object
implements ActionListener, AdjustmentListener, FocusListener

Field Summary

(package private) int
actx
(package private) int
acty
(package private) TheCalculator
calculator
(package private) TheFrame
frame
(package private) TheGUI
gui
(package private) int
oldx
(package private) int
oldy

Constructor Summary

TheEventHandler(TheFrame frame, TheGUI gui, TheCalculator calculator)

Method Summary

void
actionPerformed(ActionEvent evt)
void
adjustmentValueChanged(AdjustmentEvent evt)
void
focusGained(FocusEvent evt)
void
focusLost(FocusEvent evt)

Field Details

actx

(package private)  int actx

acty

(package private)  int acty

calculator

(package private)  TheCalculator calculator

frame

(package private)  TheFrame frame

gui

(package private)  TheGUI gui

oldx

(package private)  int oldx

oldy

(package private)  int oldy

Constructor Details

TheEventHandler

(package private)  TheEventHandler(TheFrame frame,
                                   TheGUI gui,
                                   TheCalculator calculator)

Method Details

actionPerformed

public void actionPerformed(ActionEvent evt)

adjustmentValueChanged

public void adjustmentValueChanged(AdjustmentEvent evt)

focusGained

public void focusGained(FocusEvent evt)

focusLost

public void focusLost(FocusEvent evt)