org.lyra.Interface.Options
Class InterfacePanel.Interact

java.lang.Object
  extended by org.lyra.Interface.Options.InterfacePanel.Interact
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, javax.swing.event.ChangeListener
Enclosing class:
InterfacePanel

private class InterfacePanel.Interact
extends java.lang.Object
implements java.awt.event.ActionListener, javax.swing.event.ChangeListener

The code separation from the user interface. This Class handles all of the complexities of making the interface interactive.

Author:
Martin Foster

Field Summary
private static java.lang.String CLASS
           
 
Constructor Summary
InterfacePanel.Interact()
          Default constructor for the class.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void setState()
          Establishes the defaults for the elements displayed within the panel.
 void stateChanged(javax.swing.event.ChangeEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS

private static final java.lang.String CLASS
See Also:
Constant Field Values
Constructor Detail

InterfacePanel.Interact

public InterfacePanel.Interact()
Default constructor for the class.

Method Detail

setState

public void setState()
Establishes the defaults for the elements displayed within the panel. Includes colours and checkbox states.


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent evt)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener