Chapter Contents |
Previous |
Next |
SAS/AF Software: Class Dictionary |
All drag and drop methods contain signatures that accept an object as their only argument. This object is an instance of the Drag and Drop Component, a container for the standard drag and drop information that is passed between a drag site and a drop site. The information is stored in the following attributes of the Drag and Drop component:
sashelp.classes.type.class
, which contains the following
attributes:
type | represents the type of the
attribute value (Character, Numeric, List, Object). Based on the value of type , you can query the appropriate "value"
attribute. |
characterValue | stores the character
value if type is "Character." |
listValue | stores the SCL list if type is "List." |
numericValue | stores the numeric
value if type is "Numeric." |
objectValue | stores the object identifier
if type is "Object." |
drop: public method dndObj:input:object; if dndObj.attributeValue.type = 'Character' then do; /* Retrieve dndObj.attributeValue.characterValue, */ /* then add any other code */ end; else if dndObj.attributeValue.type = 'Numeric' then do; end; /* and so forth... */ endmethod;
dragOperations
attribute that is set on the drag site.dragInfo
attribute that is set on the drag site.For components that are based on the SCOM architecture, the data specified
in the data representation (such as characterData or EXPLORER_MEMBER_NAME)
is stored in the attributeValue
complex attribute
of the Drag and Drop component. If one item is dragged, then the data is stored
in the characterValue
attribute of the attributeValue
object. If two or more items are dragged, then the data is stored in the listValue
attribute as separate character items.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.