java.lang.Object | ||
↳ | org.jfree.chart.plot.Marker | |
↳ | org.jfree.chart.plot.CategoryMarker |
A marker for a category.
Note that for serialization to work correctly, the category key must be an
instance of a serializable class.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new category marker for the specified category.
| |||||||||||
Creates a new category marker.
| |||||||||||
Creates a new category marker.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tests the marker for equality with an arbitrary object.
| |||||||||||
Returns the flag that controls whether the marker is drawn as a region
or a line.
| |||||||||||
Returns the key.
| |||||||||||
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. | |||||||||||
Sets the key and sends a
MarkerChangeEvent to all registered
listeners. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.plot.Marker
| |||||||||||
From class
java.lang.Object
|
Creates a new category marker for the specified category.
key | the category key. |
---|
Creates a new category marker.
key | the key. |
---|---|
paint | the paint (null not permitted). |
stroke | the stroke (null not permitted).
|
Creates a new category marker.
key | the key. |
---|---|
paint | the paint (null not permitted). |
stroke | the stroke (null not permitted). |
outlinePaint | the outline paint (null permitted). |
outlineStroke | the outline stroke (null permitted). |
alpha | the alpha transparency. |
Tests the marker for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the flag that controls whether the marker is drawn as a region or a line.
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.
drawAsLine | the flag. |
---|
Sets the key and sends a MarkerChangeEvent
to all registered
listeners.
key | the key (null not permitted). |
---|