org.grinvin.params

Class ParameterPanel


public class ParameterPanel
extends DialogPanel

Panel that can be used to edit parameter values. Uses a ParameterList to specify what parameters should be present.

Constructor Summary

ParameterPanel(ParameterList parameters)
Construct a new panel of this type.

Method Summary

void
getValues(Object[] values)
Initialize the given array from the values stored in the various fields of the panel.
void
setValues(Object[] values)
Initialize the fields of the panel from the given array of values.

Constructor Details

ParameterPanel

public ParameterPanel(ParameterList parameters)
Construct a new panel of this type.
Parameters:
parameters - list of parameters whose values can be edited in this panel.

Method Details

getValues

public void getValues(Object[] values)
Initialize the given array from the values stored in the various fields of the panel.

setValues

public void setValues(Object[] values)
Initialize the fields of the panel from the given array of values.