plugins.adufour.ezplug
Class EzVarSequence

java.lang.Object
  extended by plugins.adufour.ezplug.EzComponent
      extended by plugins.adufour.ezplug.EzVar<icy.sequence.Sequence>
          extended by plugins.adufour.ezplug.EzVarSequence
All Implemented Interfaces:
VarListener<icy.sequence.Sequence>

public class EzVarSequence
extends EzVar<icy.sequence.Sequence>

Class defining a sequence type variable which displays as a combo box where the user may choose among all open sequences

Author:
Alexandre Dufour

Field Summary
 
Fields inherited from class plugins.adufour.ezplug.EzComponent
name, visible
 
Constructor Summary
EzVarSequence(java.lang.String varName)
          Constructs a new variable that handles image data.
 
Method Summary
 void setNoSequenceSelection()
          Force the sequence chooser to the "no sequence" selection
 void setValue(icy.sequence.Sequence value)
          Sets the new value of this variable
 
Methods inherited from class plugins.adufour.ezplug.EzVar
addTo, addVarChangeListener, addVisibilityTriggerTo, dispose, fireVariableChanged, getDefaultValues, getValue, getValue, getVarEditor, getVariable, isEnabled, referenceChanged, removeAllVarChangeListeners, removeVarChangeListener, setDefaultValues, setEnabled, setOptional, setToolTipText, 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

EzVarSequence

public EzVarSequence(java.lang.String varName)
Constructs a new variable that handles image data.

Parameters:
varName - the parameter name
Method Detail

setNoSequenceSelection

public void setNoSequenceSelection()
Force the sequence chooser to the "no sequence" selection


setValue

public void setValue(icy.sequence.Sequence value)
              throws java.lang.UnsupportedOperationException
Description copied from class: EzVar
Sets the new value of this variable

Overrides:
setValue in class EzVar<icy.sequence.Sequence>
Parameters:
value - the new value
Throws:
java.lang.UnsupportedOperationException - thrown if changing the variable value from code is not supported (or not yet implemented)