SAP CL_GUI_ILIDRAGNDROP_CONTROL OO Class - Interactive List: Drag & Drop
CL_GUI_ILIDRAGNDROP_CONTROL is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_GUI_ILIDRAGNDROP_CONTROL including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_GUI_ILIDRAGNDROP_CONTROL is CL_GUI_CONTROLMethod list of CL_GUI_ILIDRAGNDROP_CONTROL SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
Method Name | Description | Visability |
ADD_CONTEXTMENUITEM | Adds context menu entry | Public |
CALL METHOD cl_gui_ilidragndrop_control=>ADD_CONTEXTMENUITEM...more details | ||
CLEAR_CONTEXTMENU | Deletes all entries from context menu | Public |
CALL METHOD cl_gui_ilidragndrop_control=>CLEAR_CONTEXTMENU...more details | ||
CONSTRUCTOR | Constructor | Public |
CALL METHOD cl_gui_ilidragndrop_control=>CONSTRUCTOR...more details | ||
CREATE | Creates object (USE CONSTRUCTOR) | Private |
CALL METHOD cl_gui_ilidragndrop_control=>CREATE...more details | ||
EVH_DROPPED | Internal, Event Handler, Dropped Event | Private |
CALL METHOD cl_gui_ilidragndrop_control=>EVH_DROPPED...more details | ||
EVH_RESIZED | Internal, Event Handler, Resized Event | Private |
CALL METHOD cl_gui_ilidragndrop_control=>EVH_RESIZED...more details | ||
| ||
HIDE | Makes whole control invisible | Public |
CALL METHOD cl_gui_ilidragndrop_control=>HIDE...more details | ||
HIDE_CONTEXTMENU | Disables context menu | Public |
CALL METHOD cl_gui_ilidragndrop_control=>HIDE_CONTEXTMENU...more details | ||
LINK | Relink (Relinks proxy container) | Private |
CALL METHOD cl_gui_ilidragndrop_control=>LINK...more details | ||
REGISTER_EVENT2 | Internal Use Only | Private |
CALL METHOD cl_gui_ilidragndrop_control=>REGISTER_EVENT2...more details | ||
REGISTER_EVENTS | Registers all events (called using constructor) | Private |
CALL METHOD cl_gui_ilidragndrop_control=>REGISTER_EVENTS...more details | ||
SETOFFSET | Internal Field | Protected |
CALL METHOD cl_gui_ilidragndrop_control=>SETOFFSET...more details | ||
SETSCALE | Internal Field | Protected |
CALL METHOD cl_gui_ilidragndrop_control=>SETSCALE...more details | ||
SET_REGISTERED_EV_INT | (this is temporary). | Private |
CALL METHOD cl_gui_ilidragndrop_control=>SET_REGISTERED_EV_INT...more details | ||
SET_RESIZELIMITS | Sets limits for resize operation (not operational) | Private |
CALL METHOD cl_gui_ilidragndrop_control=>SET_RESIZELIMITS...more details | ||
SHOW | Activates control. Call start_dragging first! | Public |
CALL METHOD cl_gui_ilidragndrop_control=>SHOW...more details | ||
SHOW_CONTEXTMENU | Context menu enabled | Public |
CALL METHOD cl_gui_ilidragndrop_control=>SHOW_CONTEXTMENU...more details | ||
START_DRAGGING | Begin dragging/resize operation | Public |
CALL METHOD cl_gui_ilidragndrop_control=>START_DRAGGING...more details |
CL_GUI_ILIDRAGNDROP_CONTROL attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
Name | Level | Description | Initial Value | Type | Visability |
CO_DRAG | Constant | Dragging allowed | 4 | LIKE INT4 | Public |
CO_DRAG_RESIZE_X | Constant | Dragging & resizing width | 5 | LIKE INT4 | Public |
CO_DRAG_RESIZE_XY | Constant | Dragging & resizing width and height | 7 | LIKE INT4 | Public |
CO_DRAG_RESIZE_Y | Constant | Dragging & resizing height | 6 | LIKE INT4 | Public |
CO_MF_CHECKED | Constant | Menu checked | 8 | LIKE INT4 | Public |
CO_MF_DISABLED | Constant | Menu disabled | 2 | LIKE INT4 | Public |
CO_MF_ENABLED | Constant | Menu enabled | 0 | LIKE INT4 | Public |
CO_MF_GRAYED | Constant | Menu grayed out | 1 | LIKE INT4 | Public |
CO_MF_SEPARATOR | Constant | Menu separator | 2048 | LIKE INT4 | Public |
CO_MF_UNCHECKED | Constant | Menu unchecked | 0 | LIKE INT4 | Public |
CO_MOVE | Constant | USE CO_DRAG INSTEAD! | 4 | LIKE INT4 | Private |
CO_NOTHING | Constant | Context menu only | -1 | LIKE INT4 | Public |
CO_RESIZE_X | Constant | Resizing width enabled/allowed | 1 | LIKE INT4 | Public |
CO_RESIZE_XY | Constant | Resizing width and height | 3 | LIKE INT4 | Public |
CO_RESIZE_Y | Constant | Resizing height enabled/allowed | 2 | LIKE INT4 | Public |
CUSTOM_CONTAINER | Instance Attribute | Custom container | LIKE CL_GUI_CUSTOM_CONTAINER | Private | |
EVENTS_TO_REGISTER | Instance Attribute | Internal Field | LIKE CNTL_SIMPLE_EVENTS | Private | |
EVENT_CONTEXT0 | Constant | Event ID | 3 | LIKE INT4 | Public |
EVENT_CONTEXT1 | Constant | Event ID | 4 | LIKE INT4 | Public |
EVENT_CONTEXT10 | Constant | Event ID | 13 | LIKE INT4 | Public |
EVENT_CONTEXT2 | Constant | Event ID | 5 | LIKE INT4 | Public |
EVENT_CONTEXT3 | Constant | Event ID | 6 | LIKE INT4 | Public |
EVENT_CONTEXT4 | Constant | Event ID | 7 | LIKE INT4 | Public |
EVENT_CONTEXT5 | Constant | Event ID | 8 | LIKE INT4 | Public |
EVENT_CONTEXT6 | Constant | Event ID | 9 | LIKE INT4 | Public |
EVENT_CONTEXT7 | Constant | Event ID | 10 | LIKE INT4 | Public |
EVENT_CONTEXT8 | Constant | Event ID | 11 | LIKE INT4 | Public |
EVENT_CONTEXT9 | Constant | Event ID | 12 | LIKE INT4 | Public |
EVENT_CONTEXTMENUREQUEST | Constant | Event ID | 14 | LIKE INT4 | Public |
EVENT_DROPPED | Constant | Event ID | 1 | LIKE INT4 | Public |
EVENT_RESIZED | Constant | Event ID | 2 | LIKE INT4 | Public |
MF_CHECKED | Constant | Menu checked | 8 | LIKE I | Public |
MF_DISABLED | Constant | Menu disabled | 2 | LIKE I | Public |
MF_ENABLED | Constant | Menu enabled | 0 | LIKE I | Public |
MF_GRAYED | Constant | Men grayed out | 1 | LIKE I | Public |
MF_SEPARATOR | Constant | Menu separator | 2048 | LIKE I | Public |
MF_UNCHECKED | Constant | Menu unchecked | 0 | LIKE I | Public |
M_ATOMHEIGHT | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_ATOMWIDTH | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_BOTTOM | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_DISABLE_LIST_SCROLLING | Instance Attribute | internal | space | LIKE AQS_FLAG | Private |
M_HEIGHT | Instance Attribute | INTERNAL | LIKE INT4 | Private | |
M_INITIAL_LEFT | Instance Attribute | Initial left position when dragging | LIKE INT4 | Private | |
M_INITIAL_TOP | Instance Attribute | Initial top position when dragging | LIKE INT4 | Private | |
M_LEFT | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_LINK_REPID | Static Attribute | Internal Field | LIKE INT4 | Private | |
M_MAXHEIGHT | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_MAXWIDTH | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_MENUMODE | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_MENUSTR | Instance Attribute | Internal Field | LIKE CHAR255 | Private | |
M_MINHEIGHT | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_MINWIDTH | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_MODE | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_OFFCOL | Instance Attribute | Column at start_dragging | LIKE SYSTACO | Private | |
M_OFFROW | Instance Attribute | Row at start_dragging | LIKE SYCUROW | Private | |
M_OWNER_REPID | Instance Attribute | Internal Field | LIKE SYREPID | Private | |
M_PARENT | Instance Attribute | Parent | LIKE CL_GUI_CONTAINER | Private | |
M_PARENTID | Static Attribute | Internal Field | LIKE INT4 | Private | |
M_PROGID | Instance Attribute | internal | LIKE SYREPID | Private | |
M_RIGHT | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_SHELLSTYLE | Static Attribute | Internal Field | LIKE INT4 | Private | |
M_STYLE | Instance Attribute | Internal Trace | LIKE I | Private | |
M_TOP | Instance Attribute | Internal Field | LIKE INT4 | Private | |
M_WIDTH | Instance Attribute | INTERNAL | LIKE INT4 | Private | |
OBJECT | Instance Attribute | Object | LIKE OBJECT | Private |
Events of Class CL_GUI_ILIDRAGNDROP_CONTROL
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... CONTEXTMENU - Context menu clicked DEPRECATED!CONTEXTMENU_CLICKED - Context menu clicked, entry selected
CONTEXTMENU_REQUESTED - Context menu
DROPPED - Box dropped
RESIZED - Box resized
Links to Related Class(s)
CL_GUI_I...Full list of available SAP object classes
Search for further information about these or an SAP related objects