|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.chart.plot.Marker org.jfree.chart.plot.IntervalMarker
public class IntervalMarker
Represents an interval to be highlighted in some way.
Constructor Summary | |
---|---|
IntervalMarker(double start,
double end)
Constructs an interval marker. |
|
IntervalMarker(double start,
double end,
java.awt.Paint paint)
Creates a new interval marker with the specified range and fill paint. |
|
IntervalMarker(double start,
double end,
java.awt.Paint paint,
java.awt.Stroke stroke,
java.awt.Paint outlinePaint,
java.awt.Stroke outlineStroke,
float alpha)
Constructs an interval marker. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of the marker. |
boolean |
equals(java.lang.Object obj)
Tests the marker for equality with an arbitrary object. |
double |
getEndValue()
Returns the end value for the interval. |
org.jfree.ui.GradientPaintTransformer |
getGradientPaintTransformer()
Returns the gradient paint transformer. |
double |
getStartValue()
Returns the start value for the interval. |
void |
setEndValue(double value)
Sets the end value for the marker and sends a MarkerChangeEvent to all registered listeners. |
void |
setGradientPaintTransformer(org.jfree.ui.GradientPaintTransformer transformer)
Sets the gradient paint transformer and sends a MarkerChangeEvent to all registered listeners. |
void |
setStartValue(double value)
Sets the start value for the marker and sends a MarkerChangeEvent to all registered listeners. |
Methods inherited from class org.jfree.chart.plot.Marker |
---|
addChangeListener, getAlpha, getLabel, getLabelAnchor, getLabelFont, getLabelOffset, getLabelOffsetType, getLabelPaint, getLabelTextAnchor, getListeners, getOutlinePaint, getOutlineStroke, getPaint, getStroke, notifyListeners, removeChangeListener, setAlpha, setLabel, setLabelAnchor, setLabelFont, setLabelOffset, setLabelOffsetType, setLabelPaint, setLabelTextAnchor, setOutlinePaint, setOutlineStroke, setPaint, setStroke |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntervalMarker(double start, double end)
start
- the start of the interval.end
- the end of the interval.public IntervalMarker(double start, double end, java.awt.Paint paint)
null
.
start
- the lower bound of the interval.end
- the upper bound of the interval.paint
- the fill paint (null
not permitted).public IntervalMarker(double start, double end, java.awt.Paint paint, java.awt.Stroke stroke, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, float alpha)
start
- the start of the interval.end
- the end of the interval.paint
- the paint (null
not permitted).stroke
- the stroke (null
not permitted).outlinePaint
- the outline paint.outlineStroke
- the outline stroke.alpha
- the alpha transparency.Method Detail |
---|
public double getStartValue()
public void setStartValue(double value)
MarkerChangeEvent
to all registered listeners.
value
- the value.public double getEndValue()
public void setEndValue(double value)
MarkerChangeEvent
to all registered listeners.
value
- the value.public org.jfree.ui.GradientPaintTransformer getGradientPaintTransformer()
null
).public void setGradientPaintTransformer(org.jfree.ui.GradientPaintTransformer transformer)
MarkerChangeEvent
to all registered listeners.
transformer
- the transformer (null
permitted).public boolean equals(java.lang.Object obj)
equals
in class Marker
obj
- the object (null
permitted).
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class Marker
java.lang.CloneNotSupportedException
- Not thrown by this class, but the
exception is declared for the use of subclasses.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |