| java.lang.Object org.jfree.chart.plot.Marker org.jfree.chart.plot.ValueMarker
ValueMarker | public class ValueMarker extends Marker (Code) | | A marker that represents a single value. Markers can be added to plots to
highlight specific values.
|
Method Summary | |
public boolean | equals(Object obj) Tests this marker for equality with an arbitrary object. | public double | getValue() Returns the value. | public void | setValue(double value) Sets the value for the marker and sends a
MarkerChangeEvent to
all registered listeners. |
ValueMarker | public ValueMarker(double value)(Code) | | Creates a new marker.
Parameters: value - the value. |
ValueMarker | public ValueMarker(double value, Paint paint, Stroke stroke)(Code) | | Creates a new marker.
Parameters: value - the value. Parameters: paint - the paint (null not permitted). Parameters: stroke - the stroke (null not permitted). |
ValueMarker | public ValueMarker(double value, Paint paint, Stroke stroke, Paint outlinePaint, Stroke outlineStroke, float alpha)(Code) | | Creates a new value marker.
Parameters: value - the value. Parameters: paint - the paint (null not permitted). Parameters: stroke - the stroke (null not permitted). Parameters: outlinePaint - the outline paint (null permitted). Parameters: outlineStroke - the outline stroke (null permitted). Parameters: alpha - the alpha transparency. |
equals | public boolean equals(Object obj)(Code) | | Tests this marker for equality with an arbitrary object. This method
returns true if:
obj is not null ;
obj is an instance of ValueMarker ;
obj has the same value as this marker;
super.equals(obj) returns true .
Parameters: obj - the object (null permitted). A boolean. |
getValue | public double getValue()(Code) | | Returns the value.
The value. |
setValue | public void setValue(double value)(Code) | | Sets the value for the marker and sends a
MarkerChangeEvent to
all registered listeners.
Parameters: value - the value. since: 1.0.3 |
|
|