java.lang.ObjectUserInterface
A graphical user interface for the lap timer. No calculation is being done here. This class is responsible just for putting up the display on screen. It then refers to the "TimingEngine" to do all the real work.
Constructor Summary | |
UserInterface(TimingEngine engine)
Create a user interface for a given calcEngine. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
An interface action has been performed. |
void |
setVisible(boolean visible)
Make this interface visible again. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserInterface(TimingEngine engine)
Method Detail |
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
public void setVisible(boolean visible)