public class LineInformation
extends java.lang.Object
| Constructor and Description |
|---|
LineInformation()
Constructor makes a new standart LineInformation.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getA()
Return a.
|
double |
getB()
Return b.
|
java.awt.Color |
getColor()
Return the color
|
double |
getDensity()
Return the density.
|
double |
getFormatedDensityDev()
Return the density dev formatted : if the value is 0, then
Double.NaN
is returned. |
double |
getFormatedTemperatureDev()
Return the temperature dev formatted : if the value is 0, then
Double.NaN is returned. |
java.lang.String |
getInfoPanel()
Build a JPanel to display line informations in rotational diagram panel
|
int |
getPosition() |
double |
getTemperature()
Return the temperature.
|
double |
getXMaximum()
Return X maximum.
|
double |
getXMinimum()
Return X minimum.
|
boolean |
isVisible() |
void |
setA(double a)
Change a.
|
void |
setB(double b)
Change b.
|
void |
setColor(java.awt.Color color)
Change the color.
|
void |
setDensity(double d)
Change density.
|
void |
setDensityDev(double d)
Change the density dev.
|
void |
setPosition(int newPosition) |
void |
setTemperature(double t)
Change the temperature.
|
void |
setTemperatureDev(double t)
Change the temperature dev.
|
void |
setVisible(boolean visible) |
void |
setXMaximum(double max)
Change X maximum.
|
void |
setXMinimum(double min)
Change X minimum.
|
java.lang.String |
toString()
Return a String representation of the line.
|
public LineInformation()
public final boolean isVisible()
public final void setVisible(boolean visible)
visible - the visible to setpublic void setTemperature(double t)
t - new temperaturepublic void setTemperatureDev(double t)
t - new temperaturepublic void setDensity(double d)
d - new densitypublic void setDensityDev(double d)
d - new densitypublic void setColor(java.awt.Color color)
color - new colorpublic java.awt.Color getColor()
public void setA(double a)
a - new apublic void setB(double b)
b - new bpublic void setXMinimum(double min)
min - new X minpublic void setXMaximum(double max)
max - new X maxpublic double getA()
public double getB()
public double getXMaximum()
public double getXMinimum()
public java.lang.String getInfoPanel()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setPosition(int newPosition)
newPosition - public final int getPosition()
public double getTemperature()
public double getDensity()
public double getFormatedTemperatureDev()
Double.NaN is returned.public double getFormatedDensityDev()
Double.NaN
is returned.