org.esa.beam.framework.ui.application.support
Class PageComponentListenerAdapter

java.lang.Object
  extended by org.esa.beam.framework.ui.application.support.PageComponentListenerAdapter
All Implemented Interfaces:
PageComponentListener

public class PageComponentListenerAdapter
extends Object
implements PageComponentListener


Constructor Summary
PageComponentListenerAdapter()
           
 
Method Summary
 void componentClosed(PageComponent component)
          The default implementation does nothing.
 void componentFocusGained(PageComponent component)
          The default implementation sets the active component.
 void componentFocusLost(PageComponent component)
          The default implementation nulls the active component.
 void componentHidden(PageComponent component)
          The default implementation does nothing.
 void componentOpened(PageComponent component)
          The default implementation does nothing.
 void componentShown(PageComponent component)
          The default implementation does nothing.
 PageComponent getActiveComponent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageComponentListenerAdapter

public PageComponentListenerAdapter()
Method Detail

getActiveComponent

public PageComponent getActiveComponent()
Returns:
the active component

componentOpened

public void componentOpened(PageComponent component)
The default implementation does nothing.

Specified by:
componentOpened in interface PageComponentListener
Parameters:
component - the component

componentClosed

public void componentClosed(PageComponent component)
The default implementation does nothing.

Specified by:
componentClosed in interface PageComponentListener
Parameters:
component - the component

componentShown

public void componentShown(PageComponent component)
The default implementation does nothing.

Specified by:
componentShown in interface PageComponentListener
Parameters:
component - the component

componentHidden

public void componentHidden(PageComponent component)
The default implementation does nothing.

Specified by:
componentHidden in interface PageComponentListener
Parameters:
component - the component

componentFocusGained

public void componentFocusGained(PageComponent component)
The default implementation sets the active component.

Subclasses may override but shall call the super method first.

Specified by:
componentFocusGained in interface PageComponentListener
Parameters:
component - the component

componentFocusLost

public void componentFocusLost(PageComponent component)
The default implementation nulls the active component.

Subclasses may override but shall call the super method first.

Specified by:
componentFocusLost in interface PageComponentListener
Parameters:
component - the component


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.