plugins.adufour.ezplug
Class EzVarIntegerArray

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

Deprecated. use EzVarIntegerArrayNative instead (optimized performances)

public class EzVarIntegerArray
extends EzVar<java.lang.Integer[]>

Integer arrays

Author:
Alexandre Dufour

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

EzVarIntegerArray

public EzVarIntegerArray(java.lang.String varName,
                         java.lang.Integer[][] defaultValues,
                         boolean allowUserInput)
                  throws java.lang.NullPointerException
Deprecated. 
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

EzVarIntegerArray

public EzVarIntegerArray(java.lang.String varName,
                         java.lang.Integer[][] defaultValues,
                         int defaultValueIndex,
                         boolean allowUserInput)
                  throws java.lang.NullPointerException
Deprecated. 
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