Package | Description |
---|---|
org.netbeans.api.visual.anchor |
This package contains
Anchor interface which is used by ConnectionWidget for defining its source and target point. |
Modifier and Type | Field and Description |
---|---|
static EnumSet<Anchor.Direction> |
Anchor.DIRECTION_ANY
The set of all orthogonal directions.
|
Modifier and Type | Method and Description |
---|---|
static Anchor.Direction |
Anchor.Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Anchor.Direction[] |
Anchor.Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EnumSet<Anchor.Direction> |
Anchor.Result.getDirections()
Returns possible directions of an anchor.
|
Constructor and Description |
---|
Result(Point anchorSceneLocation,
Anchor.Direction direction)
Creates a result with calculated scene location and single direction.
|
Constructor and Description |
---|
Result(Point anchorSceneLocation,
EnumSet<Anchor.Direction> directions)
Creates a result with calculated scene location and possible directions.
|