Summary of link properties

The following table lists all available properties of IlvGeneralLink and their descriptions.
IlvGeneralLink properties 
Property Name
Type
Effect
Default
Comment
alternateColor
Color
alternate colored segments
null
Segment colors are foreground and alternateColor . Segments are the width of the link unless the lineStyle property is specified.
arrowColor
Color
color of arrow
Color.black
Sets the arrow color; the default is black.
arrowMode
int
style of arrow
ARROW_FILL
ARROW_FILL gives a filled triangular shape, ARROW_OPEN gives a 2-arms shape, and ARROW_GRADIENT gives a lighter color near the target. Set oriented to enable an arrow. ARROW_DECORATION delegates the display of the arrow to a decoration.
arrowPosition
float
position of arrow
1f
ARROW_FILL and ARROW_OPEN modes only. It sets the position of the arrow along the link. The default is 1f, that is, at the target of the link. When exactly at 1f, the link is not painted until the very end, so it does not overlap the link.
arrowRatio
float
relative size of the arrow
1f
ARROW_FILL and ARROW_OPEN modes only. It sets the size of the arrow according to the link width. The ratio value is multiplied by twice the link width to obtain the arrow size.
borderDownColor
Color
border down color
null
The down side color of the border.
borderStyle
float [ ]
dash style
null
Overrides lineStyle if defined.
borderStylePhase
float
dash offset
0f
Overrides lineStylePhase only when borderStyle is defined.
borderUpColor
Color
border color
null
The color of the border. If borderDownColor is specified, it affects only the upside border of the link.
borderWidth
float
border width
0f
The width of the link border.
curved
float
curved lines
0f
Inner points are Bezier control points. For 2 points, a standard deviation is applied. Values below 0f and over 1f are ignored. Set to 0 to disable curves, use 0.65 for best results.
decorations
ilog.views.IlvGraphic[]
puts IlvGraphic onto the link
null
Style sheet entry can be a @# construct that generates an IlvGraphic (works only with an indexed setter) .
decorationPositions
float[ ]
sets relative location of the decorations
null
Values are between 0.0 and 1.0.
decorationOptions
int[ ]
displays options for decorations
null
Options are: DECORATION_NOTHING for default, an OR-ed set of DECORATION_ANIMATE to enable animation according to animateSpeed value, DECORATION_ROTATE to rotate the decoration according to the link shape, or DECORATION_FIXED_SIZE to prevent the decoration from zooming. For a decoration over the link, use DECORATION_OVER and DECORATION_ANCHOR_[TOP|BOTTOM|LEFT|RIGHT] to set the position of the decoration with respect to the link center. DECORATION_[FULL | HALF | NO]_RETRACT_AT_END] is used in ARROW_DECORATION special mode to display the decoration at the end of the link.
endCap
int
link termination (and dashes) style
CAP_SQUARE
See IlvStroke.
foreground
java.awt.Color
main color
null
Value may be a decimal triple, #-form, or any of the standard Java™ colors, for example, 12,55,200 , #E023B3 , cyan . No alpha is allowed.
label
String
link label
null
Convenient property to access the first decoration that is a label. If none is found, an IlvZoomableLabel is created at the first available slot in the decoration array.
lineJoin
int
corner style
JOIN_MITER
See IlvStroke.
lineStyle
float [ ]
dash style
null
lineStylePhase
float
dash offset
0f
lineWidth
float
line width
0f
The width of the link (border excluded).
minimumLineWidth
float
zoom min. width
0f
The minimum width of the link.
maximumLineWidth
float
zoom max. width
0f
mode
int
main look
MODE_GRADIENT
MODE_UNICOLOR displays the foreground color; MODE_GRADIENT displays a brightness gradient derived from the foreground, giving the look of a pipe; MODE_NEON displays a transparent gradient derived from the foreground, giving the look of a flashy neon; and MODE_TEXTURE displays the texture from the texture property.
oriented
boolean
flag
false
True enables an arrow.
texture
IlvTexture
texture
null
The texture for MODE_TEXTURE. The property editor expects a URL to build the texture, so use the string representation of a URL in the style sheet to set this property.
visible
boolean
show the link
true
 
wave
String
wavy stroke
0/0
First part is the amplitude, second part is the period. It works best with direct lines.