|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.charts4j.LineStyle
public final class LineStyle
Class for specifying line styles on LineChart
s, XYLine
s,
and RadarPlot
s. You can specify if a line is solid or dotted, and
the thickness of the line with this class. Also, for your convenience, there
are a few predefined lines.
Field Summary | |
---|---|
static LineStyle |
MEDIUM_DOTTED_LINE
Medium dotted line. |
static LineStyle |
MEDIUM_LINE
Medium line. |
static LineStyle |
THICK_DOTTED_LINE
Thick dotted line. |
static LineStyle |
THICK_LINE
Thick line. |
static LineStyle |
THIN_DOTTED_LINE
Thin dotted line. |
static LineStyle |
THIN_LINE
Thin line. |
Method Summary | |
---|---|
int |
getLengthOfBlankSegment()
Get the length of the blank segment. |
int |
getLengthOfLineSegment()
Get the length of the line segment. |
int |
getLineThickness()
Get the thickness of the line. |
static LineStyle |
newLineStyle(int lineThickness,
int lengthOfLineSegment,
int lengthOfBlankSegment)
Create a line style. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LineStyle THICK_LINE
public static final LineStyle MEDIUM_LINE
public static final LineStyle THIN_LINE
public static final LineStyle THICK_DOTTED_LINE
public static final LineStyle MEDIUM_DOTTED_LINE
public static final LineStyle THIN_DOTTED_LINE
Method Detail |
---|
public int getLineThickness()
public int getLengthOfLineSegment()
public int getLengthOfBlankSegment()
public static LineStyle newLineStyle(int lineThickness, int lengthOfLineSegment, int lengthOfBlankSegment)
lineThickness
- Thickness of line. Must be > 0.lengthOfLineSegment
- Length of line segment. Must be >= 0.lengthOfBlankSegment
- Length of blank segment. Must be >= 0.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |