org.lyra.Interface
Class ManageOptionDialog.Interact

java.lang.Object
  extended by org.lyra.Interface.ManageOptionDialog.Interact
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.WindowListener, java.util.EventListener
Enclosing class:
ManageOptionDialog

private class ManageOptionDialog.Interact
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.WindowListener

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  Operations fileOps
           
 
Constructor Summary
ManageOptionDialog.Interact()
          Default constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 java.awt.Dimension setDimension(java.awt.Window parent)
          This dialog could realistically be too long for the screen resolution, especially when dealing with Netbooks which older manuals have a resolution of 1024x600.
 void windowActivated(java.awt.event.WindowEvent arg0)
           
 void windowClosed(java.awt.event.WindowEvent e)
           
 void windowClosing(java.awt.event.WindowEvent e)
           
 void windowDeactivated(java.awt.event.WindowEvent e)
           
 void windowDeiconified(java.awt.event.WindowEvent e)
           
 void windowIconified(java.awt.event.WindowEvent e)
           
 void windowOpened(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileOps

private Operations fileOps
Constructor Detail

ManageOptionDialog.Interact

public ManageOptionDialog.Interact()
Default constructor

Method Detail

setDimension

public java.awt.Dimension setDimension(java.awt.Window parent)
This dialog could realistically be too long for the screen resolution, especially when dealing with Netbooks which older manuals have a resolution of 1024x600.

Parameters:
parent - Window component to extract elements from.
Returns:
Dimension the dialog will take.

actionPerformed

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

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Specified by:
windowClosing in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent arg0)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener