|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.big.bigsnakeutils.icy.gui.pair.PairRangeModel
public class PairRangeModel
VarEditorModel of Pair objects. The two values of the pair are simply bounds.
Constructor Summary | |
---|---|
PairRangeModel(Pair defaultValue,
double min,
double max,
Pair steps)
Default constructor |
Method Summary | |
---|---|
Pair |
getDefaultValue()
|
double |
getFirstMaximum()
Returns the maximum for the first value of the pair. |
double |
getFirstMinimum()
Returns the minimum for the first value of the pair. |
double |
getFirstStepSize()
Returns the step size for the first value of the pair. |
double |
getSecondMaximum()
Returns the maximum for the second value of the pair. |
double |
getSecondMinimum()
Returns the minimum for the second value of the pair. |
double |
getSecondStepSize()
Returns the step size for the second value of the pair. |
boolean |
isValid(Pair value)
|
void |
setBounds(double min,
double max)
Set the bounds for both values of the pair. |
void |
setFirstBounds(double min,
double max)
Set the bounds for the first value of the pair. |
void |
setFirstMaximum(double max)
Set the maximum for the first value of the pair. |
void |
setFirstMinimum(double min)
Set the minimum for the first value of the pair. |
void |
setFirstStepSize(double step)
Set the step size for the first value of the pair. |
void |
setMaximum(double max)
Set the maximum for both values of the pair. |
void |
setMinimum(double min)
Set the minimum for both values of the pair. |
void |
setSecondBounds(double min,
double max)
Set the bounds for the second value of the pair. |
void |
setSecondMaximum(double max)
Set the maximum for the second value of the pair. |
void |
setSecondMinimum(double min)
Set the minimum for the second value of the pair. |
void |
setSecondStepSize(double step)
Set the step size for the second value of the pair. |
void |
setStepSize(double step)
Set the step size for the both values of the pair. |
void |
updateBounds(Pair value)
Update the bounds accordingly to the given value if needed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PairRangeModel(Pair defaultValue, double min, double max, Pair steps)
Method Detail |
---|
public Pair getDefaultValue()
getDefaultValue
in interface plugins.adufour.vars.gui.model.VarEditorModel<Pair>
public double getFirstMinimum()
public double getFirstMaximum()
public double getSecondMinimum()
public double getSecondMaximum()
public void setFirstMinimum(double min)
public void setFirstMaximum(double max)
public void setFirstBounds(double min, double max)
public void setSecondMinimum(double min)
public void setSecondMaximum(double max)
public void setSecondBounds(double min, double max)
public void setMinimum(double min)
public void setMaximum(double max)
public void setBounds(double min, double max)
public void setFirstStepSize(double step)
public double getFirstStepSize()
public void setSecondStepSize(double step)
public double getSecondStepSize()
public void setStepSize(double step)
public void updateBounds(Pair value)
public boolean isValid(Pair value)
isValid
in interface plugins.adufour.vars.gui.model.VarEditorModel<Pair>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |