|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.javasoft.swing.StretchGridLayout.LinearFunction
public static class StretchGridLayout.LinearFunction
| Constructor Summary | |
|---|---|
StretchGridLayout.LinearFunction(double m,
double b,
double minX,
double maxX)
y = m * x + b |
|
| Method Summary | |
|---|---|
double |
eval(double x)
|
double |
getB()
|
double |
getM()
|
double |
getMaxX()
|
double |
getMinX()
|
void |
incB(double pb)
|
void |
incM(double pm)
|
double |
inv(double y)
returns -1 if function cannot be inverted |
void |
setMaxX(double x)
|
void |
setMinX(double x)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StretchGridLayout.LinearFunction(double m,
double b,
double minX,
double maxX)
| Method Detail |
|---|
public double getM()
public double getB()
public double getMinX()
public double getMaxX()
public void setMinX(double x)
public void setMaxX(double x)
public double eval(double x)
public double inv(double y)
public void incM(double pm)
public void incB(double pb)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||