|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEdge
Edge interface Style bits (32): 0000-0000-ttttt-tttt-ffff-ffff-aaaa-aaaa with a=arc t=to-terminator f=from-terminator byte 1 = arc byte 2 = from-terminator byte 3 = to terminator Each byte: SSSS dDsh with S=shape d=dot D=dash s=solid for each aaaa-aaaa, tttt-tttt, ffff-ffff Shapes 0001 = 1 = triangle 0010 = 2 = circle 0011 = 3 = diamond 0100 = 4 = arrow
Field Summary | |
---|---|
static int |
ARROW
Arrow terminator style |
static int |
CIRCLE
Circle terminator style |
static byte |
DASH
Dash style bit |
static int |
DIAMOND
Diamond terminator style |
static byte |
DOT
Dotted style bit |
static int |
FROMARROW
Arrow from-terminator bit |
static int |
FROMCIRCLE
Circle from-terminator bit |
static int |
FROMDIAMOND
Diamond from-terminator bit |
static int |
FROMHOOK
Hook from-terminator bit |
static int |
FROMMASK
From-terminator mask |
static int |
FROMSHIFT
From-terminator shift |
static int |
FROMSOLID
Solid from-terminator bit |
static int |
FROMTRIANGLE
Triangle from-terminator bit |
static byte |
HIDDEN
Hidden bit |
static int |
HOOK
Arrow terminator style |
static int |
SHAPEMASK
Terminator mask |
static byte |
SOLID
Solid style bit |
static int |
STROKEMASK
Stroke style bits |
static int |
TOARROW
Arrow to-terminator bit |
static int |
TOCIRCLE
Circle to-terminator bit |
static int |
TODIAMOND
Diamond to-terminator bit |
static int |
TOHOOK
Arrow to-terminator bit |
static int |
TOMASK
To-terminator mask |
static int |
TOSHIFT
To-terminator shift |
static int |
TOSOLID
Solid to-terminator bit |
static int |
TOTRIANGLE
Triangle to-terminator bit |
static int |
TRIANGLE
Triangle terminator style |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Get edge color |
INode |
getFrom()
Get from-node |
java.awt.Image |
getImage()
Get edge image |
java.lang.String |
getImageFile()
Get edge image filename |
java.lang.String |
getLabel()
Get edge label |
java.lang.Integer |
getStyle()
Set edge style |
INode |
getTo()
Get to-node |
void |
setImage(java.awt.Image thisImage)
Set image file |
Field Detail |
---|
static final int STROKEMASK
static final int FROMMASK
static final int TOMASK
static final byte HIDDEN
static final byte SOLID
static final byte DASH
static final byte DOT
static final int SHAPEMASK
static final int TRIANGLE
static final int CIRCLE
static final int DIAMOND
static final int ARROW
static final int HOOK
static final int FROMSHIFT
static final int FROMSOLID
static final int FROMTRIANGLE
static final int FROMCIRCLE
static final int FROMDIAMOND
static final int FROMARROW
static final int FROMHOOK
static final int TOSHIFT
static final int TOSOLID
static final int TOTRIANGLE
static final int TOCIRCLE
static final int TODIAMOND
static final int TOARROW
static final int TOHOOK
Method Detail |
---|
INode getFrom()
INode getTo()
java.lang.String getLabel()
java.awt.Color getColor()
java.lang.Integer getStyle()
java.lang.String getImageFile()
java.awt.Image getImage()
void setImage(java.awt.Image thisImage)
thisImage
- edge image
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |