public static interface IErrorBarPainter.ISegment extends Serializable
ErrorBarPainter
.
This is the
and the color of that
segment.
IPointPainter
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(String property,
PropertyChangeListener listener)
Registers the given property change listener to receive
instances upon a
change of the given property. |
Color |
getColor()
Returns the color of this segment or null if none has been configured in the underlying
. |
String |
getName()
Returns a descriptive name that may be used in UI interfaces.
|
IPointPainterConfigurableUI<?> |
getPointPainter()
Returns the point painter of this segment.
|
String |
getPropertySegmentColor()
Returns the property name of the color property to use with
. |
String |
getPropertySegmentPointPainter()
Returns the property name of the point painter property to use with
. |
void |
setColor(Color color)
Sets the color of this segment.
|
void |
setPointPainter(IPointPainterConfigurableUI<?> pointPainter)
Sets the point painter of this segment.
|
void addPropertyChangeListener(String property, PropertyChangeListener listener)
PropertyChangeEvent
instances upon a
change of the given property.
Note that implementations should delegate this call to
(the instance that belongs to this inner non-static class) for integrity
with the fact that an IErrorBarPainter.addPropertyChangeListener(String, PropertyChangeListener)
is
just a facade to the outer class.
IErrorBarPainter.ISegment
property
- one of the properties: getPropertySegmentColor()
,
getPropertySegmentPointPainter()
.listener
- the instances interested in a change of the property.Color getColor()
IPointPainterConfigurableUI
.
IPointPainterConfigurableUI
.String getName()
IPointPainterConfigurableUI<?> getPointPainter()
String getPropertySegmentColor()
addPropertyChangeListener(String, PropertyChangeListener)
.
This is the
for the
instance returned by
IErrorBarPainter.PROPERTY_CONNECTION_COLOR
,
IErrorBarPainter.getSegmentConnection()
for the
instance returned by
IErrorBarPainter.PROPERTY_ENDPOINT_COLOR
and
IErrorBarPainter.getSegmentEnd()
for the
instance returned by
IErrorBarPainter.PROPERTY_STARTPOINT_COLOR
for integrity
with those properties meaning the same.
IErrorBarPainter.getSegmentStart()
addPropertyChangeListener(String, PropertyChangeListener)
.String getPropertySegmentPointPainter()
addPropertyChangeListener(String, PropertyChangeListener)
.
This is the
for
the instance returned by
IErrorBarPainter.PROPERTY_CONNECTION
,
IErrorBarPainter.getSegmentConnection()
for the instance
returned by IErrorBarPainter.PROPERTY_ENDPOINT
and
IErrorBarPainter.getSegmentEnd()
for the
instance returned by
IErrorBarPainter.PROPERTY_STARTPOINT
for integrity
with those properties meaning the same.
IErrorBarPainter.getSegmentStart()
addPropertyChangeListener(String, PropertyChangeListener)
.void setColor(Color color)
color
- the color to use.void setPointPainter(IPointPainterConfigurableUI<?> pointPainter)
pointPainter
- the point painter to use.Copyright © 2017. All rights reserved.