Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

Class Calculator.ButtonHandler

java.lang.Object
    |
    +----Calculator.ButtonHandler

class ButtonHandler
extends java.lang.Object
implements java.lang.Runnable
This class provides the smarts for a basic four-function calculator. It repeatedly calls its Calculator(GUI)'s getButton() to consume the buttonIDs that the Calculator object produces.

See Also:
Calculator, cs101.util.IntBuffer

Method Summary
void  run()
Provides the interactive control loop of this animate object.
 
Methods inherited from class java.lang.Object
 equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()
Provides the interactive control loop of this animate object.
Implements:
run in interface java.lang.Runnable
See Also:
java.lang.Runnable

Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS