|
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.AnchorShapeFactory
public class AnchorShapeFactory
The factory class of all built-in anchor shapes. The instances of all built-in anchor shapes can be used multiple connection widgets.
| Method Summary | |
|---|---|
static AnchorShape |
createImageAnchorShape(Image image)
Creates an image anchor shape. |
static AnchorShape |
createImageAnchorShape(Image image,
boolean lineOriented)
Creates an image anchor shape with ability to specify line orientation. |
static AnchorShape |
createTriangleAnchorShape(int size,
boolean filled,
boolean output)
Creates a triangular anchor shape. |
static AnchorShape |
createTriangleAnchorShape(int size,
boolean filled,
boolean output,
int cutDistance)
Creates a triangular anchor shape. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AnchorShape createImageAnchorShape(Image image)
image - the image
public static AnchorShape createImageAnchorShape(Image image, boolean lineOriented)
image - the imagelineOriented - if true, then the image is line oriented
public static AnchorShape createTriangleAnchorShape(int size, boolean filled, boolean output)
size - the size of trianglefilled - if true, then the triangle is filledoutput - if true, then it is output triangle
public static AnchorShape createTriangleAnchorShape(int size, boolean filled, boolean output, int cutDistance)
size - the size of trianglefilled - if true, then the triangle is filledoutput - if true, then it is output trianglecutDistance - the distance where the related line is cut (usually 1px smaller than the size)
|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||