|
||||||||||
| 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.SliderEdgeLabelModel
A yFiles FLEX client slider edge label model data object
| Nested Class Summary | |
static class |
SliderEdgeLabelModel.ModelParameter
Model parameter for the slider edge label model. |
| Constructor Summary | |
SliderEdgeLabelModel()
|
|
| Method Summary | |
ILabelModelParameter |
createDefaultParameter()
Creates a default parameter that can be used for this model. |
double |
getAngle()
The angle the labels are rotated about. |
double |
getDistance()
Tthe distance between the label and the edge's path. |
boolean |
isEdgeRelativeDistance()
Whether distance to the edge is interpreted relatively to the edge's path. |
void |
setAngle(double angle)
The angle the labels are rotated about. |
void |
setDistance(double distance)
The distance between the label and the edge's path. |
void |
setEdgeRelativeDistance(boolean edgeRelativeDistance)
Whether distance to the edge is interpreted relatively to the edge's path. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SliderEdgeLabelModel()
| Method Detail |
public double getAngle()
public void setAngle(double angle)
public double getDistance()
0 will make the label's appear centered on the edge's path.
public void setDistance(double distance)
0 will make the label's appear centered on the edge's path.
public boolean isEdgeRelativeDistance()
false,
positive distance values will make the label appear above the edge, otherwise they will appear left of
the edge.
public void setEdgeRelativeDistance(boolean edgeRelativeDistance)
false,
positive distance values will make the label appear above the edge, otherwise they will appear left of
the edge.
public ILabelModelParameter createDefaultParameter()
ILabelModel
createDefaultParameter in interface ILabelModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||