Parameters For User Interface Behaviour

Table 4-3. Applet Parameters: User Interface

NameValueDescriptionNotes
imageMainURLThe background image to be displayed. 
imageHlURLThe modified background image for highlighted hotspots. 
imageSelURLThe modified background image for selected hotspots. 
clipBigImagesyes/noIf the image is bigger than the applet, clip it.The default is to shrink it.
worldRectangleX,Y,W,HThe area of the `real world' which the image corresponds to.Fro instance if the image is a floor plan this might be the position and size in meters.
projectionNAMEThe relationship between the real world coordinates and image coordinates.The default `linear' projection is probably right for all non-maps.
allowDragSelectyes/noThe user can drag rectangles in the applet window. 
outlineDragCOLOURThe colour of user-dragged rectangles. 
  

Marker Related

Table 4-4. Applet Parameters: Markers

NameValueDescriptionNotes
markerColorCOLOURThe colour of non-image markers. 
markerColorHlCOLOURColour used for flashing markers. 
markerColorBgCOLOURBackground colour for marker labels. 
markerLabelFontFONTFont for marker labels. 
imageMarkerTypeimage/paintableWhat kind of markers to be used for images.Paintable markers are slightly less efficient but their colour can be changed on the fly.
flashMarkerByImageyes/noHighlighted markers flash by changing image rather than having a coloured halo. 
flashMSECThe number of milliseconds per flash of highlighted markers. at all. Default of 0 means no flashing
allowMarkerDragyes/noThe user can move some markers by dragging them with the mouse. 
markerDragPriorityNUMBEROnly markers with this priority or higher can be dragged by the user.  
nmimagesNUMBERHow many marker images will be used. 
#.mimageURLThe #th marker image. 
nmarkersNUMBERHow many static markers are there. 
#.m.typeNAMEType of #th static marker. 
#.m.scaleworld/screen/imageWhat scale to use for the #.m.x and #.m.y. 
#.m.xNUMBERX coordinate of #th static marker. 
#.m.yNUMBERY coordinate of #th static marker. 
#.m.sizeNUMBERSize of #th static marker. 
#.m.thicknessNUMBERLine thickness for drawing #th static marker. 
#.m.imageNUMBERWhich of the marker images to use for the #th static marker. 
  

Hotspot Related

Table 4-5. Applet Parameters: Hotspots

NameValueDescriptionNotes
outlineCOLOURThe colour of the line around hotspots. 
allowHighlightyes/noHotspots will highlight when the mouse is over them. 
outlineHlCOLOURThe colour of the line around highlighted hotspots. 
thickHighlightyes/noHotspot borders for highlighted markers are thicker then usual. 
brightenHighlighted%AGEHighlighted hotspots display a brighter version of the standard background.100 means no change 120 is a bit brighter 90 a bit dimmer.
outlineSelCOLOURThe colour of the line around selected hotspots. 
outlineSelHlCOLOURThe colour of the line around hotspots which are both selected and highlighted. 
thickSelectyes/noHotspot borders for selected markers are thicker then usual. 
brightenSelected%AGESelected hotspots display a brighter version of the standard background.100 means no change 120 is a bit brighter 90 a bit dimmer.
autoMakeHotspotsyes/noMake the defined hotspots active at startup.Defaults to yes, but you might want to turn it off in some circumstances to control when the hotspots are activated.
nhotspotsNUMBERThe number of static hotspots. 
#.typeNAMEType of the #th static hotspot. 
#.shape#,#,#,Shape of the #th hotspot. 
#.scaleworld/screen/imagescale used fro #.shape 
#.valueTEXTThe name/value of the #th static hotspot. 
#.popupTEXTMessage popped up when mouse is over #th static hotspot. 
#.statusTEXTStatus line message for when mouse is over #th hotspot.