Package diva.gui

Class 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 Detail

      • ViewAdapter

        public ViewAdapter()
    • Method Detail

      • 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
      • 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