|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.FreeEdgeLabelModel.ModelParameter
Model parameter for the free edge label model.
| Constructor Summary | |
FreeEdgeLabelModel.ModelParameter(ILabelModel model)
|
|
FreeEdgeLabelModel.ModelParameter(ILabelModel model,
double distance,
double ratio,
double angle)
|
|
| Method Summary | |
java.lang.Object |
clone()
|
double |
getAngle()
The angle by which the label should be rotated. |
double |
getDistance()
The distance orthogonally to the connection between the source and target point. |
ILabelModel |
getModel()
Gets the model that is associated with this parameter. |
double |
getRatio()
The ratio at which the label will be anchored between the location of the source port and the location of the target port. |
java.util.Collection |
getSharedInstances()
Returns an Collection for objects that shall be shared. |
void |
setAngle(double angle)
The angle by which the label should be rotated. |
void |
setDistance(double distance)
The distance orthogonally to the connection between the source and target point. |
void |
setRatio(double ratio)
The ratio at which the label will be anchored between the location of the source port and the location of the target port. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FreeEdgeLabelModel.ModelParameter(ILabelModel model,
double distance,
double ratio,
double angle)
public FreeEdgeLabelModel.ModelParameter(ILabelModel model)
| Method Detail |
public double getDistance()
public void setDistance(double distance)
public double getRatio()
public void setRatio(double ratio)
public double getAngle()
public void setAngle(double angle)
public ILabelModel getModel()
ILabelModelParameter
getModel in interface ILabelModelParameterpublic java.lang.Object clone()
clone in interface ILabelModelParameterpublic java.util.Collection getSharedInstances()
ISharedInstanceProviderCollection for objects that shall be shared.
getSharedInstances in interface ISharedInstanceProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||