|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.uml.line.SegmentedLine
org.acm.seguin.uml.line.AssociationRelationship
public class AssociationRelationship
AssociationRelationship
Field Summary |
---|
Fields inherited from class org.acm.seguin.uml.line.SegmentedLine |
---|
scalingFactor, vertices, Xs, Ys |
Constructor Summary | |
---|---|
AssociationRelationship(EndPointPanel start,
EndPointPanel end,
UMLField init)
Constructor for the InheretenceRelationship object |
Method Summary | |
---|---|
void |
delete()
Delete this segmented line |
protected void |
drawArrow(java.awt.Graphics2D g)
Draws the arrow and the last segment |
UMLField |
getField()
Gets the Field attribute of the AssociationRelationship object |
void |
save(java.io.PrintWriter output)
Saves a segmented to the output stream |
protected void |
updateEnd()
Updates the location of the end vertex |
Methods inherited from class org.acm.seguin.uml.line.SegmentedLine |
---|
componentHidden, componentMoved, componentResized, componentShown, drag, drop, getArrowPointAbove, getArrowPointBelow, getColor, getEndPanel, getShortPoint, getStartPanel, getStroke, hit, isBothEndsSelected, load, match, paint, saveEndPanel, savePanel, saveStartPanel, saveVertices, scale, select, shift |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssociationRelationship(EndPointPanel start, EndPointPanel end, UMLField init)
start
- Description of Parameterend
- Description of Parameterinit
- Description of ParameterMethod Detail |
---|
public UMLField getField()
public void save(java.io.PrintWriter output)
save
in class SegmentedLine
output
- the output streampublic void delete()
protected void drawArrow(java.awt.Graphics2D g)
drawArrow
in class SegmentedLine
g
- the graphics objectprotected void updateEnd()
updateEnd
in class SegmentedLine
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |