Interface IErrorBarPainter.ISegment
- All Superinterfaces:
Serializable
- Enclosing interface:
- IErrorBarPainter
ErrorBarPainter
.
This is the
and the color of that
segment.
IPointPainter
- Version:
- $Revision: 1.27 $
- Author:
- Achim Westermann
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPropertyChangeListener
(String property, PropertyChangeListener listener) Registers the given property change listener to receive
instances upon a change of the given property.PropertyChangeEvent
getColor()
Returns the color of this segment or null if none has been configured in the underlying
.IPointPainterConfigurableUI
getName()
Returns a descriptive name that may be used in UI interfaces.Returns the point painter of this segment.Returns the property name of the color property to use with
.addPropertyChangeListener(String, PropertyChangeListener)
Returns the property name of the point painter property to use with
.addPropertyChangeListener(String, PropertyChangeListener)
void
Sets the color of this segment.void
setPointPainter
(IPointPainterConfigurableUI<?> pointPainter) Sets the point painter of this segment.
-
Method Details
-
addPropertyChangeListener
Registers the given property change listener to receive
instances upon a change of the given property.PropertyChangeEvent
Note that implementations should delegate this call to
(the instance that belongs to this inner non-static class) for integrity with the fact that anIErrorBarPainter.addPropertyChangeListener(String, PropertyChangeListener)
is just a facade to the outer class.IErrorBarPainter.ISegment
- Parameters:
property
- one of the properties:getPropertySegmentColor()
,getPropertySegmentPointPainter()
.listener
- the instances interested in a change of the property.
-
getColor
Color getColor()Returns the color of this segment or null if none has been configured in the underlying
.IPointPainterConfigurableUI
- Returns:
- the color of this segment or null if none has been configured in the underlying
.IPointPainterConfigurableUI
-
getName
String getName()Returns a descriptive name that may be used in UI interfaces.- Returns:
- a descriptive name that may be used in UI interfaces.
-
getPointPainter
IPointPainterConfigurableUI<?> getPointPainter()Returns the point painter of this segment.- Returns:
- the point painter used.
-
getPropertySegmentColor
String getPropertySegmentColor()Returns the property name of the color property to use with
.addPropertyChangeListener(String, PropertyChangeListener)
This is the
for the instance returned byIErrorBarPainter.PROPERTY_CONNECTION_COLOR
,IErrorBarPainter.getSegmentConnection()
for the instance returned byIErrorBarPainter.PROPERTY_ENDPOINT_COLOR
andIErrorBarPainter.getSegmentEnd()
for the instance returned byIErrorBarPainter.PROPERTY_STARTPOINT_COLOR
for integrity with those properties meaning the same.IErrorBarPainter.getSegmentStart()
- Returns:
- the property name of the color property to use with
addPropertyChangeListener(String, PropertyChangeListener)
-
getPropertySegmentPointPainter
String getPropertySegmentPointPainter()Returns the property name of the point painter property to use with
.addPropertyChangeListener(String, PropertyChangeListener)
This is the
for the instance returned byIErrorBarPainter.PROPERTY_CONNECTION
,IErrorBarPainter.getSegmentConnection()
for the instance returned byIErrorBarPainter.PROPERTY_ENDPOINT
andIErrorBarPainter.getSegmentEnd()
for the instance returned byIErrorBarPainter.PROPERTY_STARTPOINT
for integrity with those properties meaning the same.IErrorBarPainter.getSegmentStart()
- Returns:
- the property name of the color property to use with
addPropertyChangeListener(String, PropertyChangeListener)
-
setColor
Sets the color of this segment.- Parameters:
color
- the color to use.
-
setPointPainter
Sets the point painter of this segment.- Parameters:
pointPainter
- the point painter to use.
-