|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.router.polyline.Obstacle
public class Obstacle
This class describes the obstacles that are used by implementations of ObstaclePartition
to subdivide an
area into PartitionCell
s.
Constructor Summary | |
---|---|
Obstacle(YRectangle bounds,
java.lang.Object data)
Creates a new Obstacle instance with the given bounds and additional data. |
Method Summary | |
---|---|
YRectangle |
getBounds()
Returns the bounds of the obstacle. |
java.lang.Object |
getData()
Returns the additional data related to the obstacle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Obstacle(YRectangle bounds, java.lang.Object data)
Obstacle
instance with the given bounds and additional data.
bounds
- the bounds of the obstacledata
- the additional data associated to the obstacleMethod Detail |
---|
public YRectangle getBounds()
YRectangle
representing the bounds of the obstaclepublic java.lang.Object getData()
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |