Package | Description |
---|---|
horstmann.ch08_umleditor |
Modifier and Type | Field and Description |
---|---|
private ArrowHead |
SegmentedLineEdge.endArrowHead |
private ArrowHead |
SegmentedLineEdge.startArrowHead |
Modifier and Type | Method and Description |
---|---|
ArrowHead |
SegmentedLineEdge.getEndArrowHead()
Gets the end arrow head property
|
ArrowHead |
SegmentedLineEdge.getStartArrowHead()
Gets the start arrow head property
|
static ArrowHead |
ArrowHead.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArrowHead[] |
ArrowHead.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private static void |
SegmentedLineEdge.drawString(java.awt.Graphics2D g2,
java.awt.geom.Point2D p,
java.awt.geom.Point2D q,
ArrowHead arrow,
java.lang.String s,
boolean center)
Draws a string.
|
private static java.awt.geom.Point2D |
SegmentedLineEdge.getAttachmentPoint(java.awt.Graphics2D g2,
java.awt.geom.Point2D p,
java.awt.geom.Point2D q,
ArrowHead arrow,
java.awt.Dimension d,
boolean center)
Computes the attachment point for drawing a string.
|
private static java.awt.geom.Rectangle2D |
SegmentedLineEdge.getStringBounds(java.awt.Graphics2D g2,
java.awt.geom.Point2D p,
java.awt.geom.Point2D q,
ArrowHead arrow,
java.lang.String s,
boolean center)
Computes the extent of a string that is drawn along a line segment.
|
void |
SegmentedLineEdge.setEndArrowHead(ArrowHead newValue)
Sets the end arrow head property
|
void |
SegmentedLineEdge.setStartArrowHead(ArrowHead newValue)
Sets the start arrow head property
|