plugins.adufour.ezplug
Class EzVarDimensionPicker
java.lang.Object
plugins.adufour.ezplug.EzComponent
plugins.adufour.ezplug.EzVar<N>
plugins.adufour.ezplug.EzVarNumeric<java.lang.Integer>
plugins.adufour.ezplug.EzVarInteger
plugins.adufour.ezplug.EzVarDimensionPicker
- All Implemented Interfaces:
- VarListener<java.lang.Integer>
- Direct Known Subclasses:
- EzVarChannelPicker
public class EzVarDimensionPicker
- extends EzVarInteger
Constructor Summary |
EzVarDimensionPicker(java.lang.String varName,
icy.sequence.DimensionId dim,
EzVarSequence sequence)
Constructs a new selector for the specified dimension. |
EzVarDimensionPicker(java.lang.String varName,
icy.sequence.DimensionId dim,
Var<icy.sequence.Sequence> sequence)
Constructs a new selector for the specified dimension |
EzVarDimensionPicker(java.lang.String varName,
icy.sequence.DimensionId dim,
Var<icy.sequence.Sequence> sequence,
boolean allowAll)
Constructs a new selector for the specified dimension |
Method Summary |
protected void |
dispose()
|
void |
setActive(boolean active)
Sets the active state of the picker (true by default). |
Methods inherited from class plugins.adufour.ezplug.EzVar |
addTo, addVarChangeListener, addVisibilityTriggerTo, fireVariableChanged, getDefaultValues, getValue, getValue, getVarEditor, getVariable, isEnabled, referenceChanged, removeAllVarChangeListeners, removeVarChangeListener, setDefaultValues, setEnabled, setOptional, setToolTipText, setValue, setVisible, toString, updateVisibilityChain, valueChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EzVarDimensionPicker
public EzVarDimensionPicker(java.lang.String varName,
icy.sequence.DimensionId dim,
EzVarSequence sequence)
- Constructs a new selector for the specified dimension. By default,
-1
is not a
valid value.
- Parameters:
varName
- the variable namedim
- the dimension to create a selector forsequence
- the sequence variable to listen to
EzVarDimensionPicker
public EzVarDimensionPicker(java.lang.String varName,
icy.sequence.DimensionId dim,
Var<icy.sequence.Sequence> sequence)
- Constructs a new selector for the specified dimension
- Parameters:
varName
- the variable namedim
- the dimension to create a selector forsequence
- the sequence variable to listen to
EzVarDimensionPicker
public EzVarDimensionPicker(java.lang.String varName,
icy.sequence.DimensionId dim,
Var<icy.sequence.Sequence> sequence,
boolean allowAll)
- Constructs a new selector for the specified dimension
- Parameters:
varName
- the variable namedim
- the dimension to create a selector forsequence
- the sequence variable to listen toallowAll
- true if -1
is a valid value, i.e. all values are selected (e.g. -1
for dimension C indicates that all channels should be processed). If false, the
minimum selector value will be 0
dispose
protected void dispose()
- Overrides:
dispose
in class EzVar<java.lang.Integer>
setActive
public void setActive(boolean active)
- Sets the active state of the picker (true by default). If the picker is not active, the
bounds will no longer depend on the attached sequence and may be modified, e.g. via the
EzVarNumeric.setValues(Number, Comparable, Comparable, Number)
method
- Parameters:
active
-