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 | Method | Description |
---|---|---|
static AnchorFactory.DirectionalAnchorKind |
AnchorFactory.DirectionalAnchorKind.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AnchorFactory.DirectionalAnchorKind[] |
AnchorFactory.DirectionalAnchorKind.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static Anchor |
AnchorFactory.createDirectionalAnchor(Widget widget,
AnchorFactory.DirectionalAnchorKind kind) |
Creates a directional anchor with computes a point as the one in the middle of the boundary side of specified widget.
|
static Anchor |
AnchorFactory.createDirectionalAnchor(Widget widget,
AnchorFactory.DirectionalAnchorKind kind,
int gap) |
Creates a directional anchor with computes a point as the one in the middle of the boundary side of specified widget.
|
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.