Package diva.gui
Class ViewAdapter
- java.lang.Object
-
- diva.gui.ViewAdapter
-
- All Implemented Interfaces:
ViewListener
,java.util.EventListener
public class ViewAdapter extends java.lang.Object implements ViewListener
An adapter for view listener, containing empty method implementations.- Version:
- $Id$
- Author:
- John Reekie
-
-
Constructor Summary
Constructors Constructor Description ViewAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 movesvoid
viewResized(ViewEvent e)
Invoked when the view was resizedvoid
viewSelected(ViewEvent e)
Invoked when the view has been selected.void
viewShown(ViewEvent e)
Invoked when the view has been shown.
-
-
-
Method Detail
-
viewClosing
public void viewClosing(ViewEvent e)
Invoked when the view is about to be closed.- Specified by:
viewClosing
in interfaceViewListener
-
viewClosed
public void viewClosed(ViewEvent e)
Invoked when the view has been closed.- Specified by:
viewClosed
in interfaceViewListener
-
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 interfaceViewListener
-
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 interfaceViewListener
-
viewMoved
public void viewMoved(ViewEvent e)
Invoked when the view moves- Specified by:
viewMoved
in interfaceViewListener
-
viewResized
public void viewResized(ViewEvent e)
Invoked when the view was resized- Specified by:
viewResized
in interfaceViewListener
-
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 interfaceViewListener
-
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 interfaceViewListener
-
-