Example usage for Java org.jfree.chart.plot CategoryMarker fields, constructors, methods, implement or subclass
The text is from its open source code.
CategoryMarker(Comparable key, Paint paint, Stroke stroke) Creates a new category marker. | |
CategoryMarker(Comparable key) Creates a new category marker for the specified category. |
String | getLabel() Returns the label (if null no label is displayed). |
Font | getLabelFont() Returns the label font. |
void | setAlpha(float alpha) Sets the alpha transparency that should be used when drawing the marker, and sends a MarkerChangeEvent to all registered listeners. |
void | setDrawAsLine(boolean drawAsLine) Sets the flag that controls whether the marker is drawn as a region or as a line, and sends a MarkerChangeEvent to all registered listeners. |
void | setLabel(String label) Sets the label (if null no label is displayed) and sends a MarkerChangeEvent to all registered listeners. |
void | setLabelAnchor(RectangleAnchor anchor) Sets the label anchor and sends a MarkerChangeEvent to all registered listeners. |
void | setLabelFont(Font font) Sets the label font and sends a MarkerChangeEvent to all registered listeners. |
void | setLabelOffset(RectangleInsets offset) Sets the label offset and sends a MarkerChangeEvent to all registered listeners. |
void | setLabelOffsetType(LengthAdjustmentType adj) Sets the label offset type and sends a MarkerChangeEvent to all registered listeners. |
void | setLabelPaint(Paint paint) Sets the label paint and sends a MarkerChangeEvent to all registered listeners. |
void | setLabelTextAnchor(TextAnchor anchor) Sets the label text anchor and sends a MarkerChangeEvent to all registered listeners. |
void | setOutlinePaint(Paint paint) Sets the outline paint and sends a MarkerChangeEvent to all registered listeners. |
void | setPaint(Paint paint) Sets the paint and sends a MarkerChangeEvent to all registered listeners. |