|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeLayout
This interface describes the layout information for a node in the drawing of a graph. The layout information consists of the size and position of the node.
Method Summary | |
---|---|
double |
getHeight()
Returns the height of the node. |
double |
getWidth()
Returns the width of the node. |
double |
getX()
Returns X-Coordinate of the upper left corner of the node. |
double |
getY()
Returns Y-Coordinate of the upper left corner of the node. |
void |
setLocation(double x,
double y)
Sets the coordinates of the upper left corner of the node. |
void |
setSize(double width,
double height)
Sets the size of the node. |
Method Detail |
---|
double getX()
double getY()
double getWidth()
double getHeight()
void setLocation(double x, double y)
x
- the x-coordinates of the upper left corner.y
- the y-coordinates of the upper left corner.void setSize(double width, double height)
width
- the width of the node.height
- the height of the node.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |