Chapter Contents |
Previous |
Next |
SAS/AF Software: Class Dictionary |
Subclassing the Segment Hotspot Class |
Once you create a SAS/GRAPH output object, you can define hotspots for the object using a subclass of the SAS/GRAPH Output class, the Segment Hotspot class. The Segment Hotspot class provides a way to connect hotspots in your graphics output to labeled sections in your SCL program so that the labeled sections execute when the hotspot is selected.
The Segment Hotspot class is very similar to the Hotspot class; however, the Segment Hotspot class is available only in connection with the SAS/GRAPH Output class. Segment hotspots are defined only in terms of the SAS/GRAPH output they intersect. Segment hotspots are not true objects; they do not contain any methods of their own. All method calls to modify the segment hotspots must be made to the SAS/GRAPH output object that owns the hotspot.
Segment hotspots can be defined only for static GRSEG entries because segment hotspots are tightly coupled to the position of the graphic segment within the stream of segments stored in the GRSEG entry. For this reason, hotspots are removed when the GRSEG entry changes.
PARENT: | SASHELP.FSP.WIDGET.CLASS |
CLASS: | SASHELP.FSP.SHOTSPOT.CLASS |
How to Define a Segment Hotspot |
To define a segment hotspot on your SAS/GRAPH output:
Turn Hotspot Mode ON
.
Hotspot Attributes
. The Segment Hotspot Attributes window opens.
Segment Hotspot Attributes Window |
Sets the attributes of the hotspot and defines what happens when the hotspot is selected.
Name
Style
Display hotspot
Additional Attributes
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.