|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objex.panywhere.RelationshipLine
public class RelationshipLine
Defines aat an atomic level the properties of a Line2D object that connects two related Individuals to each other in a Pedigree contect. This class is an Auxilliary bean that was necessiated by the non serializablilty of the Line2D objects which made it impossible to serialize an Individual object with references to relationship lines connecting that Individual and others within the same family in a Pedigree.
| Constructor Summary | |
|---|---|
RelationshipLine()
No argumment constructor. |
|
RelationshipLine(double x1,
double y1,
double x2,
double y2)
Create a Relationship line object whose two points are specified by the supplied coordinates |
|
RelationshipLine(java.awt.geom.Line2D rline)
Create a Relationship line object whose two points are specified by the supplied Line2D object. |
|
| Method Summary | |
|---|---|
double |
getParentlineAnchorX()
Getter for property parentlineAnchorX. |
double |
getParentlineAnchorY()
Getter for property parentlineAnchorY. |
void |
setParentlineAnchor(java.awt.geom.Point2D anchor)
Sets the Parent Line Anchor point |
void |
setParentlineAnchorX(double parentlineAnchorX)
Setter for property parentlineAnchorX. |
void |
setParentlineAnchorY(double parentlineAnchorY)
Setter for property parentlineAnchorY. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelationshipLine()
public RelationshipLine(double x1,
double y1,
double x2,
double y2)
x1 - X coordinate of Point1 of Relationship liney1 - Y coordinate Point1 of Relationship linex2 - X coordinate of Point2 of Relationship liney2 - Y coordinate Point2 of Relationship linepublic RelationshipLine(java.awt.geom.Line2D rline)
rline - The line2d object from which the relationship line points are to be specified| Method Detail |
|---|
public double getParentlineAnchorX()
public void setParentlineAnchorX(double parentlineAnchorX)
parentlineAnchorX - New value of property parentlineAnchorX.public double getParentlineAnchorY()
public void setParentlineAnchorY(double parentlineAnchorY)
parentlineAnchorY - New value of property parentlineAnchorY.public void setParentlineAnchor(java.awt.geom.Point2D anchor)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||