diva.gui
Class ViewAdapter

java.lang.Object
  extended by diva.gui.ViewAdapter
All Implemented Interfaces:
ViewListener, java.util.EventListener
Direct Known Subclasses:
MDIApplication.MDIViewListener

public class ViewAdapter
extends java.lang.Object
implements ViewListener

An adapter for view listener, containing empty method implementations.

Version:
$Id: ViewAdapter.java 38798 2005-07-08 20:00:01Z cxh $
Author:
John Reekie

Constructor Summary
ViewAdapter()
           
 
Method Summary
 void viewClosed(ViewEvent e)
          Invoked when the view has been closed.
 void viewClosing(ViewEvent e)
          Invoked when the view is about to be closed.
 void viewDeselected(ViewEvent e)
          Invoked when the view has been de-selected.
 void viewHidden(ViewEvent e)
          Invoked when the view has been hidden.
 void viewMoved(ViewEvent e)
          Invoked when the view moves
 void viewResized(ViewEvent e)
          Invoked when the view was resized
 void viewSelected(ViewEvent e)
          Invoked when the view has been selected.
 void viewShown(ViewEvent e)
          Invoked when the view has been shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewAdapter

public ViewAdapter()
Method Detail

viewClosing

public void viewClosing(ViewEvent e)
Invoked when the view is about to be closed.

Specified by:
viewClosing in interface ViewListener

viewClosed

public void viewClosed(ViewEvent e)
Invoked when the view has been closed.

Specified by:
viewClosed in interface ViewListener

viewDeselected

public void viewDeselected(ViewEvent e)
Invoked when the view has been de-selected. Typically, this happens when the view no longer is the front-most view or when it loses the focus.

Specified by:
viewDeselected in interface ViewListener

viewHidden

public void viewHidden(ViewEvent e)
Invoked when the view has been hidden. This might happen because another view is placed over the top of it, or because an internal frame is iconified.

Specified by:
viewHidden in interface ViewListener

viewMoved

public void viewMoved(ViewEvent e)
Invoked when the view moves

Specified by:
viewMoved in interface ViewListener

viewResized

public void viewResized(ViewEvent e)
Invoked when the view was resized

Specified by:
viewResized in interface ViewListener

viewSelected

public void viewSelected(ViewEvent e)
Invoked when the view has been selected. Typically, this happens when the view becomes the front-most view or when it gets the focus.

Specified by:
viewSelected in interface ViewListener

viewShown

public void viewShown(ViewEvent e)
Invoked when the view has been shown. This might happen because an internal frame is deiconified, for example.

Specified by:
viewShown in interface ViewListener