|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.adufour.vars.gui.VarEditor<Pair>
plugins.big.bigsnakeutils.icy.gui.pair.PairEditor
public class PairEditor
VarEditor for Pair objects. The editor is compose of tow JSpinner separated by a linking word (the default is '-'). This linking word cannot be changed in Protocol.
Constructor Summary | |
---|---|
PairEditor(VarPair variable)
default constructor |
Method Summary | |
---|---|
void |
dispose()
|
javax.swing.JComponent |
getEditorComponent()
|
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. |
java.lang.String |
getLinkingWord()
Returns the linking word displayed between the first and the second value of the pair. |
java.awt.Dimension |
getPreferredSize()
|
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 |
isComponentEnabled()
|
boolean |
isComponentOpaque()
|
void |
setBounds(double min,
double max)
Set the bounds for the both values of the pair. |
void |
setComponentToolTipText(java.lang.String s)
|
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 |
setLinkingWord(java.lang.String word)
Set the linking word displayed between the first and the second value of the pair. |
void |
setMaximum(double max)
Set the maximum for the both values of the pair. |
void |
setMinimum(double min)
Set the minimum for the 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. |
Methods inherited from class plugins.adufour.vars.gui.VarEditor |
---|
getComponentHorizontalResizeFactor, getComponentVerticalResizeFactor, getVariable, isComponentFocusable, isComponentResizeable, isNameVisible, referenceChanged, setComponentFocusable, setComponentResizeable, setEnabled, setNameVisible, valueChanged |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PairEditor(VarPair variable)
Method Detail |
---|
public void setFirstMinimum(double min)
public double getFirstMinimum()
public void setFirstMaximum(double max)
public double getFirstMaximum()
public void setFirstBounds(double min, double max)
public void setSecondMinimum(double min)
public double getSecondMinimum()
public void setSecondMaximum(double max)
public double getSecondMaximum()
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 setLinkingWord(java.lang.String word)
public java.lang.String getLinkingWord()
public javax.swing.JComponent getEditorComponent()
getEditorComponent
in class plugins.adufour.vars.gui.VarEditor<Pair>
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class plugins.adufour.vars.gui.VarEditor<Pair>
public void setComponentToolTipText(java.lang.String s)
setComponentToolTipText
in class plugins.adufour.vars.gui.VarEditor<Pair>
public void dispose()
dispose
in class plugins.adufour.vars.gui.VarEditor<Pair>
public boolean isComponentEnabled()
isComponentEnabled
in class plugins.adufour.vars.gui.VarEditor<Pair>
public boolean isComponentOpaque()
isComponentOpaque
in class plugins.adufour.vars.gui.VarEditor<Pair>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |