org.esa.beam.framework.processor.ui
Class ProcessingParameterPage

java.lang.Object
  extended by org.esa.beam.framework.processor.ui.ParameterPage
      extended by org.esa.beam.framework.processor.ui.ProcessingParameterPage

Deprecated. since BEAM 4.11. Use the Graph Processing Framework instead.

@Deprecated
public class ProcessingParameterPage
extends ParameterPage

This parameter page creates a simple UI. All parameters are arranged as a list in the same order as they were added to the parameter group.

Note: Developers should derive this class and overwrite only addParameterToPanel(org.esa.beam.framework.param.Parameter, javax.swing.JPanel, java.awt.GridBagConstraints) addParameterToPanel()} for their own UI implementation.

Author:
Marco Peters, Ralf Quast, Norman Fomferra

Field Summary
static String DEFAULT_PAGE_TITLE
          Deprecated. The default title of this page.
 
Constructor Summary
ProcessingParameterPage(ParamGroup paramGroup)
          Deprecated. Creates a new instance of this class, with a default title.
ProcessingParameterPage(ParamGroup paramGroup, String pageTitle)
          Deprecated. Creates a new instance of this class, with the given pageTitle.
 
Method Summary
 void addParameterToPanel(Parameter parameter, JPanel panel, GridBagConstraints gbc)
          Deprecated. This method adds the UI representation of the given parameter to the given panel.
 JComponent createUI()
          Deprecated. It creates the UI by using the parameter group of this page.
 void initRequestFromUI(Request request)
          Deprecated. Fills the given request with parameters.
 void setUIFromRequest(Request request)
          Deprecated. Sets the parameter values by these given with the request.
 
Methods inherited from class org.esa.beam.framework.processor.ui.ParameterPage
getApp, getParamGroup, getTitle, setApp, setTitle, setUIDefaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PAGE_TITLE

public static final String DEFAULT_PAGE_TITLE
Deprecated. 
The default title of this page.

See Also:
Constant Field Values
Constructor Detail

ProcessingParameterPage

public ProcessingParameterPage(ParamGroup paramGroup)
Deprecated. 
Creates a new instance of this class, with a default title.

Parameters:
paramGroup - the parameter group an which the UI is build

ProcessingParameterPage

public ProcessingParameterPage(ParamGroup paramGroup,
                               String pageTitle)
Deprecated. 
Creates a new instance of this class, with the given pageTitle.

Parameters:
paramGroup - the parameter group an which the UI is build
pageTitle - the title of this page
Method Detail

setUIFromRequest

public void setUIFromRequest(Request request)
                      throws ProcessorException
Deprecated. 
Sets the parameter values by these given with the request.

Specified by:
setUIFromRequest in class ParameterPage
Parameters:
request - the request to obtain the parameters
Throws:
ProcessorException - if an error occurred

initRequestFromUI

public void initRequestFromUI(Request request)
                       throws ProcessorException
Deprecated. 
Fills the given request with parameters.

Specified by:
initRequestFromUI in class ParameterPage
Parameters:
request - the request to fill
Throws:
ProcessorException - if an error occurred

createUI

public JComponent createUI()
Deprecated. 
It creates the UI by using the parameter group of this page.

It's only called once by the MultiPageProcessorUI during lifetime of an instance of this class.

Specified by:
createUI in class ParameterPage
Returns:
the UI component displayed as page of the MultiPageProcessorUI.

addParameterToPanel

public void addParameterToPanel(Parameter parameter,
                                JPanel panel,
                                GridBagConstraints gbc)
Deprecated. 
This method adds the UI representation of the given parameter to the given panel.

Note: This method is the only one developers have to overwrite to create their own user interface for their parameters.

Parameters:
parameter - the parameter to add the UI component for
panel - the panel to add the UI component to
gbc - the constraints for the layout, are not changed between two calls but do have meaningful settings at the first call


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