<MAP_NODE> : Map node

Java class : leon.view.LyMapNode

ROLE

This element represents a node displayed in a map.

ATTRIBUTES

<!ATTLIST MAP_NODE
	  id CDATA #IMPLIED
	  template CDATA #IMPLIED
	  label CDATA #IMPLIED
	  leftLabel CDATA #IMPLIED
	  rightLabel CDATA #IMPLIED
	  topLabel CDATA #IMPLIED
	  bottomLabel CDATA #IMPLIED
	  tooltip CDATA #IMPLIED
	  overview CDATA #IMPLIED
	  parentNode CDATA #IMPLIED
	  style ( IMAGE | CIRCLE | SQUARE | TRIANGLE | ELLIPSE) "CIRCLE"
	  viewerStyle ( IMAGE | CIRCLE | SQUARE | TRIANGLE | ELLIPSE) "CIRCLE"
	  labelAlign ( LEFT | RIGHT | TOP | BOTTOM | CENTER | EXTERN) "BOTTOM"
	  x NMTOKEN #IMPLIED
	  y NMTOKEN #IMPLIED
	  z NMTOKEN #IMPLIED
	  sensitive ( true | false) "true"
	  movable ( true | false) "true"
	  selected ( true | false) "false"
	  resizable ( true | false) "false"
	  hidden ( true | false) "false"
	  image CDATA #IMPLIED
	  viewerImage CDATA #IMPLIED
	  smallImage CDATA #IMPLIED
	  size NMTOKEN #IMPLIED
	  height NMTOKEN #IMPLIED
	  layer NMTOKEN #IMPLIED
	  colorFrameInt CDATA #IMPLIED
	  colorFrameExt CDATA #IMPLIED
	  colorCross CDATA #IMPLIED
	  layoutInfo CDATA #IMPLIED
	  blink ( true | false) "false"
	  smallImageBlink ( true | false) "false"
	  javaName CDATA #IMPLIED
	  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 node.  
template no MAP_NODE.template  
label no Label of the node.  
leftLabel no Left label of the node.  
rightLabel no Right label of the node.  
topLabel no Top label of the node.  
bottomLabel no Bottom label of the node.  
tooltip no Tooltip of the node.  
overview no Overview label of the node.  
parentNode no Parent node of the current node.
The parent node is used by certain positioning managers to indicate a link from a node to another.
 
style no Style of the node. The following styles are managed:
IMAGE: Node represented by an image
CIRCLE: Node represented by a circle
SQUARE: Node represented by a square
TRIANGLE: Node represented by a triangle
CIRCLE
viewerStyle no Style of the node in the viewer. The following styles are managed:
IMAGE: Node represented by an image
CIRCLE: Node represented by a circle
SQUARE: Node represented by a square
TRIANGLE: Node represented by a triangle
CIRCLE
labelAlign no Alignment of the label of the node.
This attribute determines the positioning of the label of the node in comparison with the image representing the node.
It is used only if the label of the node is specified. The following alignments are managed:
LEFT: Label on the left of the image
RIGHT: Label on the right of the image
TOP: Label on the top of the image
BOTTOM: Label on the bottom of the image
CENTER: Label in the middle of the image
EXTERN: Label outside the image in comparison with the center of the map
BOTTOM
x no Abscissa of the node. 0F
y no Ordinate of the node. 0F
z no Altitude of the node (used only for a map in three dimensions) 0F
sensitive no Indicates whether the node is sensitive or not.
A sensitive node can be selected and allows launching actions (by double-clicking for example).
true
movable no Indicates whether the node can be moved or not. true
selected no Indicates whether the node is selected or not.
The value of this attribute is used only if the node is sensitive.
false
resizable no Indicates whether the node can be resized or not when zooming the map. false
hidden no Indicates if the node is hidden (not displayed) or not. false
image no Image used for the node.
The image is used only if the style of the node is IMAGE.
 
viewerImage no Image used for the node in the viewer if the viewer style is IMAGE.
The image is used only if the style of the node is IMAGE.
 
smallImage no Image used as superimposed on the image of the node.
It is displayed in the bottom right-hand corner of the image representing the node.
 
size no Size of the node.
The expected value is a positive integer value defining the size of the node in pixels (width and height).
This value is used only if the style of the node is CIRCLE, SQUARE or TRIANGLE.
-1
height no MAP_NODE.height -1
layer no Layer of the node. -1
colorFrameInt no Color of the internal frame of the node.
If this attribute is specified, a frame of the indicated color is drawn around the node.
 
colorFrameExt no Color of external frame of the node.
If this attribute is specified, a frame of the indicated color is drawn around the node, and around the internal frame if there is one.
 
colorCross no Color of the cross drawn on the node.
This cross is drawn only if this attribute has been specified.
 
layoutInfo no Positioning data.
This data is used by certain positioning managers to set the node in a special way. The possible values are the following: north, south, east, west, northeast, northwest, southeast and southwest: Values interpreted by the manager of LINEAR type.
It indicates the location of the node in question in comparison with its parent node (in the case where a parent node has actually been specified).
 
blink no Indicates if the image is blinking or not. false
smallImageBlink no Indicates if the small image drawn over the image of the node is blinking or not. false
javaName no Java full name of the class that manages the map node.  
font no MAP_NODE.font  
color no Color of the node.
If the style of the node is CIRCLE, SQUARE or TRIANGLE the color is used to draw the node.
If the style of the node is IMAGE the color is used to replace the black color contained in the image of the node.
This last possibility allows among others to use a same image for a node that switches from a state to another (for a major warning state, the black color of the image can be replace by the red color, for a minor state by the blue color, etc.).
 
fontColor no MAP_NODE.fontColor  
selectedColor no MAP_NODE.selectedColor  
inactiveSelectedColor no MAP_NODE.inactiveSelectedColor  
outlineColor no MAP_NODE.outlineColor