|
||||||||||
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
plugins.big.bigsnakeutils.icy.gui.pair.RangeRangeModel
public class RangeRangeModel
VarEditorModel for Pair objects. Here, the pair represents a range. Therefore, the first value cannot be higher than the second one.
Constructor Summary | |
---|---|
RangeRangeModel(Pair defaultValue,
double min,
double max,
double step)
|
Method Summary | |
---|---|
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 |
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 |
updateBounds(Pair value)
Update the bounds accordingly to the given value if needed. |
Methods inherited from class plugins.big.bigsnakeutils.icy.gui.pair.PairRangeModel |
---|
getDefaultValue, getFirstMaximum, getFirstMinimum, getFirstStepSize, getSecondMaximum, getSecondMinimum, getSecondStepSize, isValid, setBounds, setFirstBounds, setFirstStepSize, setMaximum, setMinimum, setSecondBounds, setSecondStepSize, setStepSize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangeRangeModel(Pair defaultValue, double min, double max, double step)
Method Detail |
---|
public void setFirstMinimum(double min)
PairRangeModel
setFirstMinimum
in class PairRangeModel
public void setFirstMaximum(double max)
PairRangeModel
setFirstMaximum
in class PairRangeModel
public void setSecondMinimum(double min)
PairRangeModel
setSecondMinimum
in class PairRangeModel
public void setSecondMaximum(double max)
PairRangeModel
setSecondMaximum
in class PairRangeModel
public void updateBounds(Pair value)
PairRangeModel
updateBounds
in class PairRangeModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |