plugins.adufour.ezplug
Class EzVarDimensionPicker

java.lang.Object
  extended by plugins.adufour.ezplug.EzComponent
      extended by plugins.adufour.ezplug.EzVar<N>
          extended by plugins.adufour.ezplug.EzVarNumeric<java.lang.Integer>
              extended by plugins.adufour.ezplug.EzVarInteger
                  extended by plugins.adufour.ezplug.EzVarDimensionPicker
All Implemented Interfaces:
VarListener<java.lang.Integer>
Direct Known Subclasses:
EzVarChannelPicker

public class EzVarDimensionPicker
extends EzVarInteger


Field Summary
 
Fields inherited from class plugins.adufour.ezplug.EzComponent
name, visible
 
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.EzVarNumeric
getMaxValue, getMinValue, getStep, setMaxValue, setMinValue, setStep, setValues
 
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 plugins.adufour.ezplug.EzComponent
getGroup, getVisible, isVisible, setGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 name
dim - the dimension to create a selector for
sequence - 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 name
dim - the dimension to create a selector for
sequence - 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 name
dim - the dimension to create a selector for
sequence - the sequence variable to listen to
allowAll - 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
Method Detail

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 -