SAP CL_GUI_BORDERPAINTER OO Class - SAP Border Painter Control Proxy Class
CL_GUI_BORDERPAINTER 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_BORDERPAINTER 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_BORDERPAINTER is CL_GUI_CONTROLMethod list of CL_GUI_BORDERPAINTER 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_KEY_STROKE | Add key stroke for event key_pressed | Public |
CALL METHOD cl_gui_borderpainter=>ADD_KEY_STROKE...more details | ||
CONSTRUCTOR | Constructor | Public |
CALL METHOD cl_gui_borderpainter=>CONSTRUCTOR...more details | ||
CONVERT_INTERNAL_UNIT_TO_UNIT | Convert internal unit to unit | Protected |
CALL METHOD cl_gui_borderpainter=>CONVERT_INTERNAL_UNIT_TO_UNIT...more details | ||
CONVERT_UNIT_TO_INTERNAL_UNIT | Convert unit to internal unit | Protected |
CALL METHOD cl_gui_borderpainter=>CONVERT_UNIT_TO_INTERNAL_UNIT...more details | ||
GET_BORDER_LINE | Get border line | Public |
CALL METHOD cl_gui_borderpainter=>GET_BORDER_LINE...more details | ||
INIT | Initialization | Public |
CALL METHOD cl_gui_borderpainter=>INIT...more details | ||
| ||
PROCESS_CONTEXT_MENU | Display and process a context menu | Public |
CALL METHOD cl_gui_borderpainter=>PROCESS_CONTEXT_MENU...more details | ||
REG_BORDER_CHANGED | Register event border(s) changed | Public |
CALL METHOD cl_gui_borderpainter=>REG_BORDER_CHANGED...more details | ||
REG_CONTEXT_MENU_REQUESTED | Register event context menu requested | Public |
CALL METHOD cl_gui_borderpainter=>REG_CONTEXT_MENU_REQUESTED...more details | ||
REG_CONTEXT_MENU_SELECTED | Register event context menu selected | Public |
CALL METHOD cl_gui_borderpainter=>REG_CONTEXT_MENU_SELECTED...more details | ||
REG_KEY_PRESSED | Register event key pressed | Public |
CALL METHOD cl_gui_borderpainter=>REG_KEY_PRESSED...more details | ||
REMOVE_ALL_KEY_STROKES | Remove all key strokes for event key_pressed | Public |
CALL METHOD cl_gui_borderpainter=>REMOVE_ALL_KEY_STROKES...more details | ||
SET_BACKGROUND | Set background color | Public |
CALL METHOD cl_gui_borderpainter=>SET_BACKGROUND...more details | ||
SET_BORDER | Set border | Public |
CALL METHOD cl_gui_borderpainter=>SET_BORDER...more details | ||
SET_BORDERPAINTER_MODE | Toggle control between design mode and run mode | Public |
CALL METHOD cl_gui_borderpainter=>SET_BORDERPAINTER_MODE...more details | ||
SET_BORDER_LINE | Set border line | Public |
CALL METHOD cl_gui_borderpainter=>SET_BORDER_LINE...more details | ||
SET_BORDER_QUICKINFO | Set border quickinfo | Public |
CALL METHOD cl_gui_borderpainter=>SET_BORDER_QUICKINFO...more details | ||
UNREG_BORDER_CHANGED | Unregister event border(s) changed | Public |
CALL METHOD cl_gui_borderpainter=>UNREG_BORDER_CHANGED...more details | ||
UNREG_CONTEXT_MENU_REQUESTED | Deregister event context menu requested | Public |
CALL METHOD cl_gui_borderpainter=>UNREG_CONTEXT_MENU_REQUESTED...more details | ||
UNREG_CONTEXT_MENU_SELECTED | Deregister event context menu selected | Public |
CALL METHOD cl_gui_borderpainter=>UNREG_CONTEXT_MENU_SELECTED...more details | ||
UNREG_KEY_PRESSED | Unregister event key pressed | Public |
CALL METHOD cl_gui_borderpainter=>UNREG_KEY_PRESSED...more details |
CL_GUI_BORDERPAINTER 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_BORDER_BOTTOM | Constant | Bottom border | 8 | LIKE I | Public |
CO_BORDER_LEFT | Constant | Left border | 1 | LIKE I | Public |
CO_BORDER_NO | Constant | No border | 0 | LIKE I | Public |
CO_BORDER_OUTSIDE | Constant | Outer border | 16 | LIKE I | Public |
CO_BORDER_RIGHT | Constant | Right border | 4 | LIKE I | Public |
CO_BORDER_TOP | Constant | Top border | 2 | LIKE I | Public |
CO_INTERNAL_UNIT_CH | Constant | Characters per Inch | 0 | LIKE I | Protected |
CO_INTERNAL_UNIT_CM | Constant | Centimeters | 1 | LIKE I | Protected |
CO_INTERNAL_UNIT_IN | Constant | Inches | 2 | LIKE I | Protected |
CO_INTERNAL_UNIT_LN | Constant | Lines per Inch | 3 | LIKE I | Protected |
CO_INTERNAL_UNIT_MM | Constant | Millimeters | 4 | LIKE I | Protected |
CO_INTERNAL_UNIT_NONE | Constant | Characters per Inch | -1 | LIKE I | Protected |
CO_INTERNAL_UNIT_PT | Constant | Points | 5 | LIKE I | Protected |
CO_INTERNAL_UNIT_TW | Constant | Twips | 6 | LIKE I | Protected |
CO_KEY_COPY | Constant | CTRL-C Key | 7 | LIKE I | Public |
CO_KEY_CUT | Constant | CTRL-X Key | 6 | LIKE I | Public |
CO_KEY_DELETE | Constant | Delete Key | 2 | LIKE I | Public |
CO_KEY_ENTER | Constant | Enter Key | 5 | LIKE I | Public |
CO_KEY_F1 | Constant | F1 Key | 1 | LIKE I | Public |
CO_KEY_F4 | Constant | F4 Key | 4 | LIKE I | Public |
CO_KEY_INSERT | Constant | Insert Key | 3 | LIKE I | Public |
CO_KEY_PASTE | Constant | CTRL-V Key | 8 | LIKE I | Public |
CO_MODE_DESIGN | Constant | Design mode | 1 | LIKE I | Public |
CO_MODE_RUN | Constant | Run mode | 0 | LIKE I | Public |
CO_UNIT_CH | Constant | Characters per Inch | 'CH' | LIKE TDUNIT | Public |
CO_UNIT_CM | Constant | Centimeters | 'CM' | LIKE TDUNIT | Public |
CO_UNIT_IN | Constant | Inches | 'IN' | LIKE TDUNIT | Public |
CO_UNIT_LN | Constant | Lines per Inch | 'LN' | LIKE TDUNIT | Public |
CO_UNIT_MM | Constant | Millimeters | 'MM' | LIKE TDUNIT | Public |
CO_UNIT_NONE | Constant | Characters per Inch | ' ' | LIKE TDUNIT | Public |
CO_UNIT_PT | Constant | Points | 'PT' | LIKE TDUNIT | Public |
CO_UNIT_TW | Constant | Twips | 'TW' | LIKE TDUNIT | Public |
EVENTID_BORDER_CHANGED | Constant | Event border(s) changed | 3 | LIKE I | Public |
EVENTID_CONTEXT_MENU_REQUESTED | Constant | Event context menu requested | 1 | LIKE I | Public |
EVENTID_CONTEXT_MENU_SELECTED | Constant | Event context menu selected | 2 | LIKE I | Public |
EVENTID_KEY_PRESSED | Constant | Event key pressed | 4 | LIKE I | Public |
M_BORDER | Instance Attribute | Border | LIKE I | Public | |
M_MODE | Instance Attribute | Mode | LIKE I | Public | |
M_VERSION | Instance Attribute | Border Painter Control version | LIKE I | Private |
Events of Class CL_GUI_BORDERPAINTER
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... BORDER_CHANGED - One or more border(s) have changedCONTEXT_MENU_REQUESTED - Context menu requested
CONTEXT_MENU_SELECTED - Context menu selected
KEY_PRESSED - Key pressed on the border painter
Links to Related Class(s)
CL_GUI_B...Full list of available SAP object classes
Search for further information about these or an SAP related objects