| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.FreeNodeLabelModel.ModelParameter
public static class FreeNodeLabelModel.ModelParameter
The model parameter that encodes a label position within FreeNodeLabelModel.
 It represents every possible location in relation to the node. The point describes the offset of the label's center
 to the upper-left corner of the node.
setPoint(double, double)| Constructor Summary | |
|---|---|
| FreeNodeLabelModel.ModelParameter()Creates a new instance of FreeNodeLabelModel.ModelParameter. | |
| FreeNodeLabelModel.ModelParameter(double dx,
                                  double dy)Creates a new instance of FreeNodeLabelModel.ModelParameterwith the given offset. | |
| Method Summary | |
|---|---|
|  YPoint | getPoint()Returns the offset of the label's center to the upper-left corner of the node. | 
|  void | setPoint(double dx,
         double dy)Specifies the offset of the label's center to the upper-left corner of the node. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FreeNodeLabelModel.ModelParameter()
FreeNodeLabelModel.ModelParameter.
 It has no offset, i.e., the upper-left corners of both node label and node are at the same location.
public FreeNodeLabelModel.ModelParameter(double dx,
                                         double dy)
FreeNodeLabelModel.ModelParameter with the given offset.
dx - the horizontal offsetdy - the vertical offset| Method Detail | 
|---|
public YPoint getPoint()
public void setPoint(double dx,
                     double dy)
dx - the horizontal offsetdy - the vertical offset| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||