|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.googlecode.charts4j.Markers
public final class Markers
Static factory class for Marker
hierarchy.
Method Summary | |
---|---|
static Marker |
newShapeMarker(Shape shape,
Color color,
int size)
Static factory method to instantiate new ShapeMarker . |
static Marker |
newShapeMarker(Shape shape,
Color color,
int size,
Priority priority)
Static factory method to instantiate new ShapeMarker . |
static Marker |
newTextMarker(String text,
Color color,
int size)
Static factory method to instantiate new TextMarker . |
static Marker |
newTextMarker(String text,
Color color,
int size,
Priority priority)
Static factory method to instantiate new TextMarker . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Marker newTextMarker(String text, Color color, int size)
TextMarker
.
text
- The text of the marker. Cannot be null.color
- The color of text marker. Cannot be null.size
- The size of text marker. Must be > 0.
public static Marker newShapeMarker(Shape shape, Color color, int size)
ShapeMarker
.
shape
- The shape of the marker (arrows, diamonds, etc.). Cannot be
null.color
- The color of the shape marker. Cannot be null.size
- The size of the shape marker. Must be > 0.
public static Marker newTextMarker(String text, Color color, int size, Priority priority)
TextMarker
.
text
- The text of the marker. Cannot be null.color
- The color of text marker. Cannot be null.size
- The size of text marker. Must be > 0.priority
- The marker priority. Cannot be null.
public static Marker newShapeMarker(Shape shape, Color color, int size, Priority priority)
ShapeMarker
.
shape
- The shape of the marker. Cannot be null.color
- The color of shape marker. Cannot be null.size
- The size of shape marker. Must be > 0.priority
- The marker priority. Cannot be null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |