public class BackgroundLine extends java.lang.Object implements Basic
Modifier and Type | Field and Description |
---|---|
static int |
LINE_Size_Big |
static int |
LINE_Size_Normal |
static int |
LINE_Size_Small |
Constructor and Description |
---|
BackgroundLine(Model model,
java.lang.String id,
int lineSize,
double level)
Background element to paint a line
|
Modifier and Type | Method and Description |
---|---|
Grafic |
createGrafic(java.lang.String viewId,
java.awt.Point[] points,
java.awt.Color color)
Create Gragic of BackgroundLine
|
Grafic |
getGrafic()
get ProcessGrafic, created before
|
java.lang.String |
getId()
get id of background element
|
double |
getLevel()
Get level of background element.
|
int |
getLineSize()
Get line size of background element.
|
Model |
getModel() |
java.lang.String |
getName() |
public static final int LINE_Size_Normal
public static final int LINE_Size_Small
public static final int LINE_Size_Big
public BackgroundLine(Model model, java.lang.String id, int lineSize, double level)
model
- id
- id of background elementlineSize
- level
- elements with low level are painted in front
of elements with high levelpublic java.lang.String getId()
getId
in interface ClassBasic
public double getLevel()
public int getLineSize()
public Grafic createGrafic(java.lang.String viewId, java.awt.Point[] points, java.awt.Color color)
viewId
- points
- color
-