org.esa.beam.framework.ui.application.support
Class AbstractControlFactory
java.lang.Object
org.esa.beam.framework.ui.application.support.AbstractControlFactory
- All Implemented Interfaces:
- ControlFactory
- Direct Known Subclasses:
- AbstractApplicationPage, AbstractPageComponentPane, AbstractToolView
public abstract class AbstractControlFactory
- extends Object
- implements ControlFactory
A control factory that only creates it's control when requested.
- Author:
- Marco Peters (original by Keith Donald of Spring RCP project)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractControlFactory
protected AbstractControlFactory()
isSingleton
protected final boolean isSingleton()
setSingleton
protected final void setSingleton(boolean singleton)
getControl
public final JComponent getControl()
- Description copied from interface:
ControlFactory
- Gets or creates (if not yet existing) the actual Swing UI control component.
- Specified by:
getControl in interface ControlFactory
- Returns:
- The page component.
isControlCreated
public final boolean isControlCreated()
createControlIfNecessary
protected void createControlIfNecessary()
createControl
protected abstract JComponent createControl()
Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.