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 and 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 and 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 October 25 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.