Package | Description |
---|---|
org.netbeans.api.visual.anchor |
This package contains
Anchor interface which is used by ConnectionWidget for defining its source and target point. |
org.netbeans.api.visual.widget |
This package contains
Widget class. |
Modifier and Type | Field | Description |
---|---|---|
static AnchorShape |
AnchorShape.NONE |
The empty anchor shape.
|
static AnchorShape |
AnchorShape.TRIANGLE_FILLED |
The filled-triangle anchor shape.
|
static AnchorShape |
AnchorShape.TRIANGLE_HOLLOW |
The hollow-triangle anchor shape.
|
static AnchorShape |
AnchorShape.TRIANGLE_OUT |
The output-triangle anchor shape.
|
Modifier and Type | Method | Description |
---|---|---|
static AnchorShape |
AnchorShapeFactory.createAdjustableAnchorShape(AnchorShape shape,
AnchorShapeLocationResolver resolver) |
Creates a proxy AnchorShape that is used to adjust the location of an AnchorShape.
|
static AnchorShape |
AnchorShapeFactory.createAdjustableAnchorShape(AnchorShape shape,
ConnectionWidget owner,
AnchorShapeFactory.ConnectionEnd referencingEnd,
Widget attachedWidget) |
Creates a proxy AnchorShape that is used to adjust the location of an AnchorShape.
|
static AnchorShape |
AnchorShapeFactory.createArrowAnchorShape(int degrees,
int size) |
Creates an arrow anchor shape.
|
static AnchorShape |
AnchorShapeFactory.createImageAnchorShape(Image image) |
Creates an image anchor shape.
|
static AnchorShape |
AnchorShapeFactory.createImageAnchorShape(Image image,
boolean lineOriented) |
Creates an image anchor shape with ability to specify line orientation.
|
static AnchorShape |
AnchorShapeFactory.createTriangleAnchorShape(int size,
boolean filled,
boolean output) |
Creates a triangular anchor shape.
|
static AnchorShape |
AnchorShapeFactory.createTriangleAnchorShape(int size,
boolean filled,
boolean output,
int cutDistance) |
Creates a triangular anchor shape.
|
Modifier and Type | Method | Description |
---|---|---|
static AnchorShape |
AnchorShapeFactory.createAdjustableAnchorShape(AnchorShape shape,
AnchorShapeLocationResolver resolver) |
Creates a proxy AnchorShape that is used to adjust the location of an AnchorShape.
|
static AnchorShape |
AnchorShapeFactory.createAdjustableAnchorShape(AnchorShape shape,
ConnectionWidget owner,
AnchorShapeFactory.ConnectionEnd referencingEnd,
Widget attachedWidget) |
Creates a proxy AnchorShape that is used to adjust the location of an AnchorShape.
|
Modifier and Type | Method | Description |
---|---|---|
AnchorShape |
ConnectionWidget.getSourceAnchorShape() |
Returns an anchor shape of the source of the connection widget.
|
AnchorShape |
ConnectionWidget.getTargetAnchorShape() |
Returns an anchor shape of the target of the connection widget.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ConnectionWidget.setSourceAnchorShape(AnchorShape sourceAnchorShape) |
Sets the anchor shape of the source of the connection widget.
|
void |
ConnectionWidget.setTargetAnchorShape(AnchorShape targetAnchorShape) |
Sets the anchor shape of the target of the connection widget.
|
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.