<MAP_LINK> : Map link

Java class : leon.view.LyMapLink

ROLE

This element represents a link between two nodes in a map.

ATTRIBUTES

<!ATTLIST MAP_LINK
	  id CDATA #IMPLIED
	  template CDATA #IMPLIED
	  label CDATA #IMPLIED
	  startLabel CDATA #IMPLIED
	  endLabel CDATA #IMPLIED
	  tooltip CDATA #IMPLIED
	  overview CDATA #IMPLIED
	  startNode CDATA #REQUIRED
	  endNode CDATA #REQUIRED
	  sensitive ( true | false) "true"
	  selected ( true | false) "false"
	  doubleLink ( true | false) "false"
	  width NMTOKEN #IMPLIED
	  style ( LINE | DOT | DASHED | TUBE) "LINE"
	  arrow ( NONE | START | END | BOTH) "NONE"
	  startArrowType ( TRIANGLE | CIRCLE | SQUARE) "TRIANGLE"
	  startArrowFillMode ( EMPTY | FULL) "FULL"
	  endArrowType ( TRIANGLE | CIRCLE | SQUARE) "TRIANGLE"
	  endArrowFillMode ( EMPTY | FULL) "FULL"
	  motif CDATA #IMPLIED
	  imageStart CDATA #IMPLIED
	  imageMiddle CDATA #IMPLIED
	  imageEnd CDATA #IMPLIED
	  colorStart CDATA #IMPLIED
	  colorEnd CDATA #IMPLIED
	  layer NMTOKEN #IMPLIED
	  hidden ( true | false) "false"
	  imageStartBlink ( true | false) "false"
	  imageMiddleBlink ( true | false) "false"
	  imageEndBlink ( true | false) "false"
	  font CDATA #IMPLIED
	  color CDATA #IMPLIED
	  fontColor CDATA #IMPLIED
	  selectedColor CDATA #IMPLIED
	  inactiveSelectedColor CDATA #IMPLIED
	  outlineColor CDATA #IMPLIED>
Attribute Mand. Description Default
id no Identifier of the link.  
template no MAP_LINK.template  
label no Label of the link.  
startLabel no Start label of the link.  
endLabel no End label of the link.  
tooltip no Tooltip of the link.  
overview no Gives the overview label of the map link.  
startNode yes Start node of the link.
A link has always a start and a destination node.
The expected value is the identifier of a node of the map.
 
endNode yes Destination node of the link.
The expected value is the identifier of a node.
 
sensitive no Indicates whether the link is sensitive or not.
A sensitive link can be selected and allows launching actions (by double-clicking for example).
true
selected no Indicates whether the link is selected or not.
The value of this attribute is used only if the link is sensitive.
false
doubleLink no Indicates if the line representing the link should be drawn with a double or a simple line (the true value indicates a double line).
A link of TUBE type cannot be drawn with a double line.
false
width no Width of the link.
If the link is represented by a double line, the value of this attribute defines the space between the two lines.
-1
style no Style of the link. The following styles are managed:
LINE Link represented by a continuous line (or by a double line if the doubleLink attribute is true).
DOT Link represented by a dotted line (or by two lines if the value of the width attribute is positive).
DASHED Link represented by a dashed line (or by two lines if the value of the width attribute is positive).
TUBE Link represented with a tube appearance.
LINE
arrow no Indicates if the link should starts or ends with arrows. The NONE value corresponds to no arrow, the START value corresponds to an arrow on the side of the source node, the END value corresponds to an arrow on the side of the destination node and the BOTH value corresponds to arrows on both sides. NONE
startArrowType no Style of the start arrow. The following style are managed:
TRIANGLE the start arrow of the link is a triangle (Default).
CIRCLE the start arrow of the link is a circle.
SQUARE the start arrow of the link is a square.
TRIANGLE
startArrowFillMode no The fill mode of the start arrow. The following fill mode are managed:
FULL the arrow is filled with the link color (Default).
EMPTY the arrow is not filled.
FULL
endArrowType no Style of the end arrow. The following style are managed:
TRIANGLE the end arrow of the link is a triangle (Default).
CIRCLE the end arrow of the link is a circle.
SQUARE the end arrow of the link is a square.
TRIANGLE
endArrowFillMode no The fill mode of the end arrow. The following fill mode are managed:
FULL the arrow is filled with the link color (Default).
EMPTY the arrow is not filled.
FULL
motif no Repetitive pattern used to draw the link  
imageStart no Source image of the link (displayed in the middle of the first third of the link).  
imageMiddle no Source image of the link (displayed in the middle of the link).  
imageEnd no Source image of the link (displayed in the middle of the last third of the link).  
colorStart no Color of the first third of the link.  
colorEnd no Color of the last third of the link.  
layer no Layer of the link. -1
hidden no Indicates if the link is hidden (not displayed) or not. false
imageStartBlink no Specifies if the image on the beginning of the link should blink. false
imageMiddleBlink no Specifies if the image in the middle of the link should blink. false
imageEndBlink no Specifies if the image at the end of the link should blink. false
font no MAP_LINK.font  
color no Color of the link.  
fontColor no MAP_LINK.fontColor  
selectedColor no MAP_LINK.selectedColor  
inactiveSelectedColor no MAP_LINK.inactiveSelectedColor  
outlineColor no MAP_LINK.outlineColor  

ELEMENTS

<!ELEMENT MAP_LINK 
	  (POINT*)>
Element Mand. Mult. Description
POINT no yes Points used to draw the link when a specific drawing is needed between start and end nodes.