public class MeterInterval extends Object implements Serializable
MeterPlot
. Instances of this
class are immutable.Constructor and Description |
---|
MeterInterval(String label,
Range range)
Creates a new interval.
|
MeterInterval(String label,
Range range,
Paint outlinePaint,
Stroke outlineStroke,
Paint backgroundPaint)
Creates a new interval.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks this instance for equality with an arbitrary object.
|
Paint |
getBackgroundPaint()
Returns the background paint.
|
String |
getLabel()
Returns the label.
|
Paint |
getOutlinePaint()
Returns the outline paint.
|
Stroke |
getOutlineStroke()
Returns the outline stroke.
|
Range |
getRange()
Returns the range.
|
public MeterInterval(String label, Range range)
label
- the label (null
not permitted).range
- the range (null
not permitted).public MeterInterval(String label, Range range, Paint outlinePaint, Stroke outlineStroke, Paint backgroundPaint)
label
- the label (null
not permitted).range
- the range (null
not permitted).outlinePaint
- the outline paint (null
permitted).outlineStroke
- the outline stroke (null
permitted).backgroundPaint
- the background paint (null
permitted).public String getLabel()
null
).public Range getRange()
null
).public Paint getBackgroundPaint()
null
, the background
should remain unfilled.null
).public Paint getOutlinePaint()
null
).public Stroke getOutlineStroke()
null
).Jas4pp 1.5 © Java Analysis Studio for Particle Physics