org.globus.cog.gridface.impl.desktop.frames.listener
Class DesktopInternalFrameListener

java.lang.Object
  extended byorg.globus.cog.gridface.impl.desktop.frames.listener.DesktopInternalFrameListener
All Implemented Interfaces:
EventListener, InternalFrameListener, VetoableChangeListener

public class DesktopInternalFrameListener
extends Object
implements InternalFrameListener, VetoableChangeListener


Constructor Summary
DesktopInternalFrameListener()
           
 
Method Summary
 void internalFrameActivated(InternalFrameEvent e)
          Invoked when an internal frame is activated.
 void internalFrameClosed(InternalFrameEvent e)
          Invoked when an internal frame has been closed.
 void internalFrameClosing(InternalFrameEvent e)
          Invoked when an internal frame is in the process of being closed.
 void internalFrameDeactivated(InternalFrameEvent e)
          Invoked when an internal frame is de-activated.
 void internalFrameDeiconified(InternalFrameEvent e)
          Invoked when an internal frame is de-iconified.
 void internalFrameIconified(InternalFrameEvent e)
          Invoked when an internal frame is iconified.
 void internalFrameOpened(InternalFrameEvent e)
          Invoked when a internal frame has been opened.
 void vetoableChange(PropertyChangeEvent evt)
          This method gets called when a constrained property is changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesktopInternalFrameListener

public DesktopInternalFrameListener()
Method Detail

internalFrameOpened

public void internalFrameOpened(InternalFrameEvent e)
Invoked when a internal frame has been opened.

Specified by:
internalFrameOpened in interface InternalFrameListener
See Also:
JInternalFrame.show()

internalFrameClosing

public void internalFrameClosing(InternalFrameEvent e)
Invoked when an internal frame is in the process of being closed. The close operation can be overridden at this point.

Specified by:
internalFrameClosing in interface InternalFrameListener
See Also:
JInternalFrame.setDefaultCloseOperation(int)

internalFrameClosed

public void internalFrameClosed(InternalFrameEvent e)
Invoked when an internal frame has been closed.

Specified by:
internalFrameClosed in interface InternalFrameListener
See Also:
JInternalFrame.setClosed(boolean)

internalFrameIconified

public void internalFrameIconified(InternalFrameEvent e)
Invoked when an internal frame is iconified.

Specified by:
internalFrameIconified in interface InternalFrameListener
See Also:
JInternalFrame.setIcon(boolean)

internalFrameDeiconified

public void internalFrameDeiconified(InternalFrameEvent e)
Invoked when an internal frame is de-iconified.

Specified by:
internalFrameDeiconified in interface InternalFrameListener
See Also:
JInternalFrame.setIcon(boolean)

internalFrameActivated

public void internalFrameActivated(InternalFrameEvent e)
Invoked when an internal frame is activated.

Specified by:
internalFrameActivated in interface InternalFrameListener
See Also:
JInternalFrame.setSelected(boolean)

internalFrameDeactivated

public void internalFrameDeactivated(InternalFrameEvent e)
Invoked when an internal frame is de-activated.

Specified by:
internalFrameDeactivated in interface InternalFrameListener
See Also:
JInternalFrame.setSelected(boolean)

vetoableChange

public void vetoableChange(PropertyChangeEvent evt)
                    throws PropertyVetoException
This method gets called when a constrained property is changed.

Specified by:
vetoableChange in interface VetoableChangeListener
Parameters:
evt - a PropertyChangeEvent object describing the event source and the property that has changed.
Throws:
PropertyVetoException - if the recipient wishes the property change to be rolled back.