|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 width of the node. |
double |
getWidth()
Returns the height 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 |
public double getX()
public double getY()
public double getWidth()
public double getHeight()
public void setLocation(double x, double y)
x
- the x-coordinates of the upper left corner.y
- the y-coordinates of the upper left corner.public void setSize(double width, double height)
width
- the width of the node.height
- the heigth of the node.
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |