plugins.adufour.ezplug
Class EzVarIntegerArrayNative

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

public class EzVarIntegerArrayNative
extends EzVar<int[]>

Integer arrays

Author:
Alexandre Dufour

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

EzVarIntegerArrayNative

public EzVarIntegerArrayNative(java.lang.String varName,
                               int[][] 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

EzVarIntegerArrayNative

public EzVarIntegerArrayNative(java.lang.String varName,
                               int[][] 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