Events for Structure Graphics
Graphical events are events/user actions reported by the graphic.
Structure graphics are highly interactive and for this reason events are very important for hierarchy graphics and network graphics.
Typical events include the following:
GRAPHIC_BUTTON_CLICKED
Items for a node can be displayed as pushbuttons. This event occurs when a pushbutton is pressed.
GRAPHIC_LINK_CLICKED
Items for a node can be displayed as links. This event occurs when a link is activated.
GRAPHIC_CHECKBOX_CHANGED
Items for a node can be displayed as checkboxes. This event occurs when the status of a checkbox is changed.
One of the most important functions involving events in structure graphics is Drag & Drop. You can use this function to drag one or more objects in one control and drop them onto an object in another control.
For more information, see Drag & Drop.
See also: Drag & Drop in the Control Framework documentation.
Events and event codes are defined in the interface IF_GRAPHIC_PROXY as usual.
The events GRAPHIC_OBJ_EXPANDED and GRAPHIC_OBJ_COLLAPSED use the status attribute in the data container. For more information, see Status Object.