plugins.adufour.ezplug
Class EzVarFloatArrayNative

java.lang.Object
  extended by plugins.adufour.ezplug.EzComponent
      extended by plugins.adufour.ezplug.EzVar<float[]>
          extended by plugins.adufour.ezplug.EzVarFloatArrayNative
All Implemented Interfaces:
VarListener<float[]>

public class EzVarFloatArrayNative
extends EzVar<float[]>

Float arrays

Author:
Alexandre Dufour

Field Summary
 
Fields inherited from class plugins.adufour.ezplug.EzComponent
name, visible
 
Constructor Summary
EzVarFloatArrayNative(java.lang.String varName, float[][] defaultValues, boolean allowUserInput)
          Creates a new integer variable with a given array of possible values
EzVarFloatArrayNative(java.lang.String varName, float[][] defaultValues, int defaultValueIndex, boolean allowUserInput)
          Creates a new integer variable with a given array of possible values
 
Method Summary
 
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, 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

EzVarFloatArrayNative

public EzVarFloatArrayNative(java.lang.String varName,
                             float[][] defaultValues,
                             boolean allowUserInput)
                      throws java.lang.NullPointerException
Creates a new integer variable with a given array of possible values

Parameters:
varName - the name of the variable (as it will appear on the interface)
defaultValues - the list of possible values the user may choose from
allowUserInput - set to true to allow the user to input its own value manually, false otherwise
Throws:
java.lang.NullPointerException - if the defaultValues parameter is null

EzVarFloatArrayNative

public EzVarFloatArrayNative(java.lang.String varName,
                             float[][] defaultValues,
                             int defaultValueIndex,
                             boolean allowUserInput)
                      throws java.lang.NullPointerException
Creates a new integer variable with a given array of possible values

Parameters:
varName - the name of the variable (as it will appear on the interface)
defaultValues - the list of possible values the user may choose from
defaultValueIndex - the index of the default selected value
allowUserInput - set to true to allow the user to input its own value manually, false otherwise
Throws:
java.lang.NullPointerException - if the defaultValues parameter is null