org.pf.joi
Class InspectionWindowController

java.lang.Object
  extended by org.pf.joi.InspectionWindowController
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.WindowListener, java.util.EventListener

public class InspectionWindowController
extends java.lang.Object
implements java.awt.event.ActionListener, java.awt.event.WindowListener

Controls one inspection window with one ore more inspectors inside.

Version:
1.1
Author:
Manfred Duchrow

Field Summary
static int INSPECT_IN_CURRENT_PLACE
          The action code that tells an inspector to open the inspection view in the current window or tab.
static int INSPECT_IN_NEW_TAB
          The action code that tells an inspector to open the inspection view in a new tab.
static int INSPECT_IN_NEW_WINDOW
          The action code that tells an inspector to open the inspection view in a new window.
 
Constructor Summary
InspectionWindowController()
          Initialize the new instance.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Is called whenever a user action event occured.
 void windowActivated(java.awt.event.WindowEvent e)
          Noop implementation to be compliant to WindowListener interface.
 void windowClosed(java.awt.event.WindowEvent e)
          Noop implementation to be compliant to WindowListener interface.
 void windowClosing(java.awt.event.WindowEvent e)
          Check if it's ok to close the window and if yes then do it.
 void windowDeactivated(java.awt.event.WindowEvent e)
          Noop implementation to be compliant to WindowListener interface.
 void windowDeiconified(java.awt.event.WindowEvent e)
          Noop implementation to be compliant to WindowListener interface.
 void windowIconified(java.awt.event.WindowEvent e)
          Noop implementation to be compliant to WindowListener interface.
 void windowOpened(java.awt.event.WindowEvent e)
          Noop implementation to be compliant to WindowListener interface.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSPECT_IN_CURRENT_PLACE

public static final int INSPECT_IN_CURRENT_PLACE
The action code that tells an inspector to open the inspection view in the current window or tab.

See Also:
Constant Field Values

INSPECT_IN_NEW_TAB

public static final int INSPECT_IN_NEW_TAB
The action code that tells an inspector to open the inspection view in a new tab.

See Also:
Constant Field Values

INSPECT_IN_NEW_WINDOW

public static final int INSPECT_IN_NEW_WINDOW
The action code that tells an inspector to open the inspection view in a new window.

See Also:
Constant Field Values
Constructor Detail

InspectionWindowController

public InspectionWindowController()
Initialize the new instance.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Is called whenever a user action event occured.
This method is actually performing all actions, triggered by buttons, keystrokes or menu items.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - The action event holding further information on what happened.

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Noop implementation to be compliant to WindowListener interface.

Specified by:
windowOpened in interface java.awt.event.WindowListener
See Also:
WindowListener.windowOpened(WindowEvent)

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Noop implementation to be compliant to WindowListener interface.

Specified by:
windowClosed in interface java.awt.event.WindowListener
See Also:
WindowListener.windowClosed(WindowEvent)

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Check if it's ok to close the window and if yes then do it.

Specified by:
windowClosing in interface java.awt.event.WindowListener
See Also:
WindowListener.windowClosing(WindowEvent)

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Noop implementation to be compliant to WindowListener interface.

Specified by:
windowDeactivated in interface java.awt.event.WindowListener
See Also:
WindowListener.windowDeactivated(WindowEvent)

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Noop implementation to be compliant to WindowListener interface.

Specified by:
windowDeiconified in interface java.awt.event.WindowListener
See Also:
WindowListener.windowDeiconified(WindowEvent)

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Noop implementation to be compliant to WindowListener interface.

Specified by:
windowIconified in interface java.awt.event.WindowListener
See Also:
WindowListener.windowIconified(WindowEvent)

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Noop implementation to be compliant to WindowListener interface.

Specified by:
windowActivated in interface java.awt.event.WindowListener
See Also:
WindowListener.windowActivated(WindowEvent)