SAP CL_GUI_ECL_VIEWER OO Class - Proxy Class for Engineering Client Viewer
CL_GUI_ECL_VIEWER 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_ECL_VIEWER 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_ECL_VIEWER is CL_GUI_CONTROLMethod list of CL_GUI_ECL_VIEWER 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 |
CLOSE_DOCUMENT | Closes the document in the control | Public |
CALL METHOD cl_gui_ecl_viewer=>CLOSE_DOCUMENT...more details | ||
CONSTRUCTOR | Constructor | Public |
CALL METHOD cl_gui_ecl_viewer=>CONSTRUCTOR...more details | ||
CURRENT_PAGE | Private | |
CALL METHOD cl_gui_ecl_viewer=>CURRENT_PAGE...more details | ||
DISPLAY_COPYRIGHT | Displays copyright panel of EAI. | Public |
CALL METHOD cl_gui_ecl_viewer=>DISPLAY_COPYRIGHT...more details | ||
DRAW | Performs a draw operation in the viewer | Public |
CALL METHOD cl_gui_ecl_viewer=>DRAW...more details | ||
FIRST_PAGE | Displays the first page of a multi-page 2D file | Public |
CALL METHOD cl_gui_ecl_viewer=>FIRST_PAGE...more details | ||
| ||
GET_NUMBER_OF_PAGES | Gives back the number of pages of a 2D file | Public |
CALL METHOD cl_gui_ecl_viewer=>GET_NUMBER_OF_PAGES...more details | ||
IMPORT_DOCUMENT | Imports a 3D file to an already existing part or assembly | Public |
CALL METHOD cl_gui_ecl_viewer=>IMPORT_DOCUMENT...more details | ||
LAST_PAGE | Displays the last page of a multi-page 2D file | Public |
CALL METHOD cl_gui_ecl_viewer=>LAST_PAGE...more details | ||
MIRROR_HORIZONTAL | Mirrors a 2D image horizontal | Public |
CALL METHOD cl_gui_ecl_viewer=>MIRROR_HORIZONTAL...more details | ||
MIRROR_VERTICAL | Mirrors a 2D image vertical | Public |
CALL METHOD cl_gui_ecl_viewer=>MIRROR_VERTICAL...more details | ||
NEXT_PAGE | Displays the next page of a multi-page 2D file | Public |
CALL METHOD cl_gui_ecl_viewer=>NEXT_PAGE...more details | ||
OPEN_DOCUMENT | Opens the document in the control | Public |
CALL METHOD cl_gui_ecl_viewer=>OPEN_DOCUMENT...more details | ||
PREVIOUS_PAGE | Displays the previous page of a multi-page 2D file | Public |
CALL METHOD cl_gui_ecl_viewer=>PREVIOUS_PAGE...more details | ||
Sends the file to standard printer | Public | |
CALL METHOD cl_gui_ecl_viewer=>PRINT...more details | ||
ROTATE_CLOCKWISE | Rotates the 2D image clockwise | Public |
CALL METHOD cl_gui_ecl_viewer=>ROTATE_CLOCKWISE...more details | ||
ROTATE_COUNTERCLOCKWISE | Rotates the 2D image counter clockwise | Public |
CALL METHOD cl_gui_ecl_viewer=>ROTATE_COUNTERCLOCKWISE...more details | ||
SET_AMBIENT_BACKGROUND | Sets background color depending on the container's backgroun | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_AMBIENT_BACKGROUND...more details | ||
SET_BACKFACEREMOVALMODE | Sets the backface-removalmode of the 3D control | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_BACKFACEREMOVALMODE...more details | ||
SET_BACKGROUNDCOLOR | Sets the background color | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_BACKGROUNDCOLOR...more details | ||
SET_CONTEXTMENU_MODE | Sets whether context is enabled or not | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_CONTEXTMENU_MODE...more details | ||
SET_FOREGROUNDCOLOR | Sets the foreground color | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_FOREGROUNDCOLOR...more details | ||
SET_INTERACTION_MODE | Sets the interaction mode for the control: pan,rotate,zoom,. | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_INTERACTION_MODE...more details | ||
SET_INVERSE_COLOR | Sets 2D image to inverse colors | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_INVERSE_COLOR...more details | ||
SET_MONO_COLOR | Sets 2D image to mono color mode | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_MONO_COLOR...more details | ||
SET_PAGE | Sets the page of a multi-page 2D file to be displayed | Public |
CALL METHOD cl_gui_ecl_viewer=>SET_PAGE...more details |
CL_GUI_ECL_VIEWER 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 |
INIT_CTX | Instance Attribute | Indicates whether the ctx menu handler is already created | 0 | LIKE I | Private |
MODE | Instance Attribute | Indicates whether the control is in 2D or in 3D mode | 2 | LIKE I | Private |
NO_ACTION_MODE | Constant | Interaction Mode: No Action | 0 | LIKE I | Public |
PAN_MODE | Constant | 3D interaction mode for panning | 1 | LIKE I | Public |
ROTATE_MODE | Constant | 3D interaction mode for rotating | 6 | LIKE I | Public |
SEEK_MODE | Constant | 2D interaction mode for seeking | 4 | LIKE I | Public |
VIEW_ALL_MODE | Constant | 2D interaction mode arranging the image according to fit all | 5 | LIKE I | Public |
X_AXIS_ROTATE_MODE | Constant | 3D interaction mode for rotating around an axis | 7 | LIKE I | Public |
Y_AXIS_ROTATE_MODE | Constant | 3D interaction mode for rotating around y-axis | 8 | LIKE I | Public |
ZOOM_AREA_MODE | Constant | 2D & 3D interaction mode for zooming an image area | 3 | LIKE I | Public |
ZOOM_MODE | Constant | 3D interaction mode for zooming | 2 | LIKE I | Public |
Z_AXIS_ROTATE_MODE | Constant | 3D interaction mode for rotating around z-axis | 9 | LIKE I | Public |
Events of Class CL_GUI_ECL_VIEWER
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... CONTEXT_MENU_REQUEST - Context MenuCONTEXT_MENU_SELECTED - Context Menu Item has been selected
ON_DRAG - Drag Event occured
ON_DROP - Drop Event occured
ON_DROP_COMPLETE - Complete drag and drop operation
ON_GET_FLAVOR - Determine desired flavor
Links to Related Class(s)
CL_GUI_E...Full list of available SAP object classes
Search for further information about these or an SAP related objects