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

java.lang.Object
  extended by org.esa.beam.framework.ui.application.support.AbstractControlFactory
      extended by org.esa.beam.framework.ui.application.support.AbstractPageComponentPane
All Implemented Interfaces:
ControlFactory, PageComponentPane
Direct Known Subclasses:
DefaultDocViewPane, DefaultToolViewPane

public abstract class AbstractPageComponentPane
extends AbstractControlFactory
implements PageComponentPane

A PageComponentPane is a container that holds the PageComponent's control, and can add extra decorations (add a toolbar, a border, docking capabilities ...)

This allows for adding extra behaviour to PageComponents that have to be applied to all PageComponent.


Constructor Summary
protected AbstractPageComponentPane(PageComponent pageComponent)
           
 
Method Summary
 PageComponent getPageComponent()
          Gets the contained page component.
protected  void nameComponent(JComponent component, String suffix)
          Used to uniquely name components for UI testing.
protected abstract  void pageComponentChanged(PropertyChangeEvent evt)
          Handle the change of a property of this pane's page component.
 
Methods inherited from class org.esa.beam.framework.ui.application.support.AbstractControlFactory
createControl, createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.esa.beam.framework.ui.application.ControlFactory
getControl
 

Constructor Detail

AbstractPageComponentPane

protected AbstractPageComponentPane(PageComponent pageComponent)
Method Detail

getPageComponent

public PageComponent getPageComponent()
Description copied from interface: PageComponentPane
Gets the contained page component.

Specified by:
getPageComponent in interface PageComponentPane
Returns:
The page component.

pageComponentChanged

protected abstract void pageComponentChanged(PropertyChangeEvent evt)
Handle the change of a property of this pane's page component.

Parameters:
evt - The change event.

nameComponent

protected void nameComponent(JComponent component,
                             String suffix)
Used to uniquely name components for UI testing. Format of the new name is "id.suffix".

Parameters:
component - the component to be named
suffix - the name suffix


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