T
- parameter typepublic abstract class AbstractParameterConfigurator<T extends Parameter<?>> extends Object implements ParameterConfigurator
Modifier and Type | Field and Description |
---|---|
protected EventListenerList |
listenerList
The event listeners for this parameter.
|
(package private) T |
param
The parameter to configure
|
(package private) JComponent |
parent
The parent container
|
Constructor and Description |
---|
AbstractParameterConfigurator(T param,
JComponent parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener) |
void |
addParameter(Object owner,
Parameter<?> param,
TrackParameters track) |
void |
appendParameters(ListParameterization params) |
protected void |
finishGridRow()
Complete the current grid row, adding the icon at the end
|
protected void |
fireValueChanged()
Notify listeners of a changed value.
|
abstract Object |
getUserInput()
Get the value given by the user.
|
void |
removeChangeListener(ChangeListener listener) |
final JComponent parent
protected EventListenerList listenerList
public AbstractParameterConfigurator(T param, JComponent parent)
param
- Parameterparent
- Parentprotected void finishGridRow()
public void addParameter(Object owner, Parameter<?> param, TrackParameters track)
addParameter
in interface ParameterConfigurator
public void addChangeListener(ChangeListener listener)
addChangeListener
in interface ParameterConfigurator
public void removeChangeListener(ChangeListener listener)
removeChangeListener
in interface ParameterConfigurator
protected void fireValueChanged()
public void appendParameters(ListParameterization params)
appendParameters
in interface ParameterConfigurator
public abstract Object getUserInput()