|
org.netbeans.api.visual 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.visual.anchor.Anchor.Result
public final class Anchor.Result
Represents calculated scene location and orthogonal direction(s) of an anchor. Usually created within Anchor.compute method and used by Router.
Constructor Summary | |
---|---|
Anchor.Result(Point anchorSceneLocation,
Anchor.Direction direction)
Creates a result with calculated scene location and single direction. |
|
Anchor.Result(Point anchorSceneLocation,
EnumSet<Anchor.Direction> directions)
Creates a result with calculated scene location and possible directions. |
Method Summary | |
---|---|
Point |
getAnchorSceneLocation()
Returns a scene location of an anchor. |
EnumSet<Anchor.Direction> |
getDirections()
Returns possible directions of an anchor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Anchor.Result(Point anchorSceneLocation, Anchor.Direction direction)
anchorSceneLocation
- the scene location of an anchordirection
- the single direction of an anchorpublic Anchor.Result(Point anchorSceneLocation, EnumSet<Anchor.Direction> directions)
anchorSceneLocation
- the scene location of an anchordirections
- the possible directions of an anchorMethod Detail |
---|
public Point getAnchorSceneLocation()
public EnumSet<Anchor.Direction> getDirections()
|
org.netbeans.api.visual 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |