|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ijchart.xychart.marker.AbstractMarker
com.ijchart.xychart.marker.IntervalValueMarker
public class IntervalValueMarker
Title: IJChart
Description: a chart library for the Java(tm) platform.
Represents an interval to be highlighted in some way.Copyright: Copyright (c) 2013
Company:
| Field Summary |
|---|
| Fields inherited from class com.ijchart.xychart.marker.AbstractMarker |
|---|
DEFAULT_FILL_PAINT, DEFAULT_TEXT_POSITION |
| Constructor Summary | |
|---|---|
IntervalValueMarker(double start,
double end)
Constructs an interval marker. |
|
IntervalValueMarker(double start,
double end,
java.awt.Paint fillPaint,
java.awt.Paint borderPaint,
java.awt.Stroke borderStroke,
float fillAlpha)
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. |
DefaultGradientPaintTransformer |
getGradientPaintTransformer()
Returns the gradient paint transformer. |
double |
getStartValue()
Returns the start value for the interval. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setEndValue(double value)
Sets the end value for the marker and sends a MarkerChangeEvent to all registered listeners. |
void |
setGradientPaintTransformer(DefaultGradientPaintTransformer 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 com.ijchart.xychart.marker.AbstractMarker |
|---|
addChangeListener, fireMarkerChanged, getBorderPaint, getBorderStroke, getFillAlpha, getFillPaint, getListeners, getMargin, getText, getTextFont, getTextHorizontalAlign, getTextPaint, getTextPosition, getTextVerticalAlign, isDrawBorder, isDrawText, isFillShape, notifyListeners, removeChangeListener, setBorderPaint, setBorderStroke, setDrawBorder, setDrawText, setFillAlpha, setFillPaint, setFillShape, setMargin, setText, setTextFont, setTextHorizontalAlign, setTextPaint, setTextPosition, setTextVerticalAlign, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IntervalValueMarker(double start,
double end)
start - double
The start of the interval.end - double
The end of the interval.
public IntervalValueMarker(double start,
double end,
java.awt.Paint fillPaint,
java.awt.Paint borderPaint,
java.awt.Stroke borderStroke,
float fillAlpha)
start - double
The start of the interval.end - double
The end of the interval.fillPaint - Paint
The fill paint (null not permitted).borderPaint - Paint
The border paint (null permitted).borderStroke - Stroke
The border stroke (null permitted).fillAlpha - float
The alpha transparency (must be in the range 0.0f to 1.0f).| Method Detail |
|---|
public double getStartValue()
public void setStartValue(double value)
MarkerChangeEvent to all registered listeners.
value - double
The value.public double getEndValue()
public void setEndValue(double value)
MarkerChangeEvent to all registered listeners.
value - double
The value.public DefaultGradientPaintTransformer getGradientPaintTransformer()
public void setGradientPaintTransformer(DefaultGradientPaintTransformer transformer)
MarkerChangeEvent to all registered listeners.
transformer - DefaultGradientPaintTransformer
The transformer (null permitted).public boolean equals(java.lang.Object obj)
equals in class AbstractMarkerobj - the object (null permitted).
public int hashCode()
hashCode in class AbstractMarker
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class AbstractMarkerjava.lang.CloneNotSupportedException - Not thrown by this class, but the
exception is declared for the use of subclasses.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||