public class DefaultInfoLayer extends InfoLayer
canvas| Constructor and Description |
|---|
DefaultInfoLayer(Color c)
Creacion de un InfoLayer especificando el color
|
| Modifier and Type | Method and Description |
|---|---|
double |
clipDecimals(double num,
int n) |
void |
firstActions()
Definir el borde que va a tener el componente
|
void |
firstDrawActions()
Acciones a ejecutar antes del primer dibujado
|
double |
getMax() |
double |
getMin() |
protected void |
paint(Graphics g)
Dibujado del elemento gráfico
|
void |
setLimits(double min,
double max)
Establecer los valores maximo y minimo para dicha capa
|
void |
setStatusLeft(String statusLeft) |
void |
setStatusRight(String statusRight) |
draw, getColor, isDrawing, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, setCanvas, setColor, setDrawingpublic DefaultInfoLayer(Color c)
c - public void firstActions()
firstActions in class DrawableElementpublic void setLimits(double min,
double max)
protected void paint(Graphics g)
DrawableElementpaint in class DrawableElementpublic double getMin()
public double getMax()
public void setStatusRight(String statusRight)
status - the status to setpublic void setStatusLeft(String statusLeft)
statusLeft - the statusLeft to setpublic void firstDrawActions()
DrawableElementfirstDrawActions in class DrawableElementpublic double clipDecimals(double num,
int n)