com.dlsc.flexgantt.swing.layer.system
Interface IRelationshipRenderer
- All Known Implementing Classes:
- DefaultRelationshipRenderer
public interface IRelationshipRenderer
A relationship renderer is used to draw a relationship between two timeline
objects.
- Since:
- 1.0
- Author:
- Dirk Lemmermann
- See Also:
RelationshipLayer.setRelationshipRenderer(Class, IRelationshipRenderer)
drawRelationship
void drawRelationship(RelationshipLayer layer,
java.awt.Graphics g,
IRelationship relationship)
- Draws a relationship between two timeline objects. This is usually a line
that starts at the source object and ends at the target object (with an
arrow head pointing towards the target).
- Parameters:
layer
- the relationship layer in which the drawing takes placeg
- the graphics context into which to drawrelationship
- the relationship object in need of rendering- Since:
- 1.0