|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplugins.adufour.ezplug.EzComponent
plugins.adufour.ezplug.EzVar<N>
plugins.adufour.ezplug.EzVarNumeric<java.lang.Float>
plugins.adufour.ezplug.EzVarFloat
public class EzVarFloat
Specialized implementation of EzVarNumeric for variables of type
float
| Field Summary |
|---|
| Fields inherited from class plugins.adufour.ezplug.EzComponent |
|---|
name, visible |
| Constructor Summary | |
|---|---|
EzVarFloat(java.lang.String varName)
Creates a new integer variable with default minimum and maximum values, and a default step size of 0.01 |
|
EzVarFloat(java.lang.String varName,
java.lang.Float[] defaultValues,
boolean allowUserInput)
Creates a new integer variable with a given array of possible values |
|
EzVarFloat(java.lang.String varName,
java.lang.Float[] defaultValues,
int defaultValueIndex,
boolean allowUserInput)
Creates a new integer variable with a given array of possible values |
|
EzVarFloat(java.lang.String varName,
float min,
float max,
float step)
Creates a new integer variable with specified minimum and maximum values |
|
EzVarFloat(java.lang.String varName,
float value,
float min,
float max,
float step)
Creates a new integer variable with specified default, minimum and maximum values |
|
EzVarFloat(java.lang.String varName,
float value,
float min,
float max,
float step,
RangeModel.RangeEditorType editorType)
Creates a new integer variable with specified default, minimum and maximum values |
|
| Method Summary |
|---|
| 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, 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 |
|---|
public EzVarFloat(java.lang.String varName)
public EzVarFloat(java.lang.String varName,
float min,
float max,
float step)
varName - the name of the variable (as it will appear on the interface)min - the minimum allowed valuemax - the maximum allowed valuestep - the step between consecutive values
public EzVarFloat(java.lang.String varName,
float value,
float min,
float max,
float step)
varName - the name of the variable (as it will appear on the interface)value - the default valuemin - the minimum allowed valuemax - the maximum allowed valuestep - the step between consecutive values
public EzVarFloat(java.lang.String varName,
float value,
float min,
float max,
float step,
RangeModel.RangeEditorType editorType)
varName - the name of the variable (as it will appear on the interface)value - the default valuemin - the minimum allowed valuemax - the maximum allowed valuestep - the step between consecutive valueseditorType - the type of editor to use
public EzVarFloat(java.lang.String varName,
java.lang.Float[] defaultValues,
boolean allowUserInput)
throws java.lang.NullPointerException
varName - the name of the variable (as it will appear on the interface)defaultValues - the list of possible values the user may choose fromallowUserInput - set to true to allow the user to input its own value manually, false otherwise
java.lang.NullPointerException - if the defaultValues parameter is null
public EzVarFloat(java.lang.String varName,
java.lang.Float[] defaultValues,
int defaultValueIndex,
boolean allowUserInput)
throws java.lang.NullPointerException
varName - the name of the variable (as it will appear on the interface)defaultValues - the list of possible values the user may choose fromdefaultValueIndex - the index of the default selected valueallowUserInput - set to true to allow the user to input its own value manually, false otherwise
java.lang.NullPointerException - if the defaultValues parameter is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||