|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.FreeEdgeLabelModel.ModelParameter
public static class FreeEdgeLabelModel.ModelParameter
The model parameters for the FreeEdgeLabelModel.
| Constructor Summary | |
|---|---|
FreeEdgeLabelModel.ModelParameter()
Creates a new instance of FreeEdgeLabelModel.ModelParameter with radius 50
and angle 0. |
|
FreeEdgeLabelModel.ModelParameter(double radius,
double theta)
Creates a new instance of FreeEdgeLabelModel.ModelParameter with given radius and angle. |
|
| Method Summary | |
|---|---|
YPoint |
getPoint()
Returns a point whose x-coordinate corresponds to the radius associated with this class and whose y-coordinate corresponds to the angle associated with this class. |
void |
setPoint(double radius,
double theta)
Sets angle and radius for this class. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FreeEdgeLabelModel.ModelParameter()
FreeEdgeLabelModel.ModelParameter with radius 50
and angle 0.
public FreeEdgeLabelModel.ModelParameter(double radius,
double theta)
FreeEdgeLabelModel.ModelParameter with given radius and angle.
radius - the distance of the label from the source node of the underlying edgetheta - the angle between the first segment of the underlying edge and the
imaginary line to the center of the label. the angle is measured in radian.| Method Detail |
|---|
public YPoint getPoint()
public void setPoint(double radius,
double theta)
public String toString()
toString in class Object
|
© Copyright 2000-2008, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||