SAP ABAP Class CL_GUI_RESOURCES (GUI Resources (Fonts, Colors, ...))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-FES-GUI (Application Component) Graphical User Interface
⤷ SGUI (Package) GUI Objects
⤷ BC-FES-GUI (Application Component) Graphical User Interface
⤷ SGUI (Package) GUI Objects
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_GUI_OBJECT | Proxy Class for a GUI Object | 19990218 |
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_WF_GUI_RESOURCES | Getting Front Settings | 19990408 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_WF_GUI_RESOURCES_4_HTML | Get Front Settings for HTML Generation | 19990408 |
Properties
Class | CL_GUI_RESOURCES | |
Short Description | GUI Resources (Fonts, Colors, ...) | |
Super Class | CL_GUI_OBJECT | Proxy Class for a GUI Object |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SGUI | GUI Objects |
Created | 19990218 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | CNTL | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_GUI_RESOURCES has no interface implemented.
Friends
Class CL_GUI_RESOURCES has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | COLOR_FORM_AFFIRMATIV | Constant | Public | Type reference (TYPE) | I | 46 | Affirmative Color | 20120706 | |
2 | COLOR_FORM_APPL_TOOLBAR | Constant | Public | Type reference (TYPE) | I | 41 | Application Toolbar Color | 20120706 | |
3 | COLOR_FORM_BUTTON | Constant | Public | Type reference (TYPE) | I | 32 | Pushbutton Color | 20120706 | |
4 | COLOR_FORM_CHECKBOX | Constant | Public | Type reference (TYPE) | I | 34 | Checkbox Color | 20120706 | |
5 | COLOR_FORM_DIALOG | Constant | Public | Type reference (TYPE) | I | 37 | Dialog Box Color | 20120706 | |
6 | COLOR_FORM_DLGTITLE | Constant | Public | Type reference (TYPE) | I | 45 | Dialog Title Color | 20120706 | |
7 | COLOR_FORM_DROPDOWN_ENTRY | Constant | Public | Type reference (TYPE) | I | 52 | Dropdown List Entry Color | 20120706 | |
8 | COLOR_FORM_ENTRY | Constant | Public | Type reference (TYPE) | I | 31 | Entry Field Color | 20120706 | |
9 | COLOR_FORM_ENTRY_BOTTOM_BORDER | Constant | Public | Type reference (TYPE) | I | 56 | Bottom Border Color | 20120706 | |
10 | COLOR_FORM_ENTRY_READONLY | Constant | Public | Type reference (TYPE) | I | 49 | Read-Only Entry Field Color | 20120706 | |
11 | COLOR_FORM_ERROR | Constant | Public | Type reference (TYPE) | I | 48 | Error Color | 20120706 | |
12 | COLOR_FORM_FRAME | Constant | Public | Type reference (TYPE) | I | 35 | Frame Color | 20120706 | |
13 | COLOR_FORM_FRAME_TITLE | Constant | Public | Type reference (TYPE) | I | 51 | Frame Title Color | 20120706 | |
14 | COLOR_FORM_LABEL | Constant | Public | Type reference (TYPE) | I | 30 | Label Color | 20120706 | |
15 | COLOR_FORM_MENU | Constant | Public | Type reference (TYPE) | I | 39 | Menu Color | 20120706 | |
16 | COLOR_FORM_MENUITEM | Constant | Public | Type reference (TYPE) | I | 44 | Menu Item Color | 20120706 | |
17 | COLOR_FORM_RADIO | Constant | Public | Type reference (TYPE) | I | 33 | Radiobutton Color | 20120706 | |
18 | COLOR_FORM_SCROLLBAR | Constant | Public | Type reference (TYPE) | I | 38 | Scrollbar Color | 20120706 | |
19 | COLOR_FORM_STATUSBAR | Constant | Public | Type reference (TYPE) | I | 43 | Status Bar Color | 20120706 | |
20 | COLOR_FORM_SUBSCR_INNERBORDER | Constant | Public | Type reference (TYPE) | I | 54 | Subscreen Inner Border Color | 20120706 | |
21 | COLOR_FORM_SUBSCR_OUTERBORDER | Constant | Public | Type reference (TYPE) | I | 53 | Subscreen Outer Border Color | 20120706 | |
22 | COLOR_FORM_TABBUTTON | Constant | Public | Type reference (TYPE) | I | 50 | Tab Button Color | 20120706 | |
23 | COLOR_FORM_TABSTRIP | Constant | Public | Type reference (TYPE) | I | 55 | Frame Color | 20120706 | |
24 | COLOR_FORM_TITLE | Constant | Public | Type reference (TYPE) | I | 40 | Title Color | 20120706 | |
25 | COLOR_FORM_TOOL_TB | Constant | Public | Type reference (TYPE) | I | 42 | Toolbar Color | 20120706 | |
26 | COLOR_FORM_WARNING | Constant | Public | Type reference (TYPE) | I | 47 | Warning Color | 20120706 | |
27 | COLOR_FORM_WINDOW | Constant | Public | Type reference (TYPE) | I | 36 | Main Window Color | 20120706 | |
28 | COLOR_STYLE_DISABLED | Constant | Public | Type reference (TYPE) | I | 16 | Disabled Style Color | 20120706 | |
29 | COLOR_STYLE_INTENSIFIED | Constant | Public | Type reference (TYPE) | I | 2 | Intensified Style Color | 20120706 | |
30 | COLOR_STYLE_INVERSE | Constant | Public | Type reference (TYPE) | I | 4 | Inverse Style Color | 20120706 | |
31 | COLOR_STYLE_REGULAR | Constant | Public | Type reference (TYPE) | I | 1 | Regular Style Color | 20120706 | |
32 | COLOR_STYLE_SELECTED | Constant | Public | Type reference (TYPE) | I | 8 | Selected Style Color | 20120706 | |
33 | COL_BACKGROUND_LEVEL1 | Constant | Public | Type reference (TYPE) | I | 36 | Color ID: Background, Step 1 | 19990730 | |
34 | COL_BACKGROUND_LEVEL2 | Constant | Public | Type reference (TYPE) | I | 35 | Color ID: Background, Step 2 | 19990730 | |
35 | COL_TEXTAREA | Constant | Public | Type reference (TYPE) | I | 31 | Color ID: Background for Text Areas | 19990730 | |
36 | COL_TREE_LEVEL1 | Constant | Public | Type reference (TYPE) | I | 60 | Color ID: Tree Level 1 | 19990730 | |
37 | COL_TREE_LEVEL2 | Constant | Public | Type reference (TYPE) | I | 61 | Color ID: Tree Level 2 | 19990730 | |
38 | COL_TREE_LEVEL3 | Constant | Public | Type reference (TYPE) | I | 62 | Color ID: Tree Level 3 | 19990730 | |
39 | COL_TREE_LEVEL4 | Constant | Public | Type reference (TYPE) | I | 63 | Color ID: Tree Level 4 | 19990730 | |
40 | GOT_STANDARD_RESOURCES | Static Attribute | Private | Type reference (TYPE) | I | Standard GUI Resources Have Already Been Buffered | 19990222 | ||
41 | LIST_COLOR_TABLE | Static Attribute | Private | Type reference (TYPE) | CNTL_COL_VALUE_TAB | Buffer for Current List Colors | 19990219 | ||
42 | LIST_COL_BACKGROUND | Constant | Public | Type reference (TYPE) | I | 0 | List Color Background | 19990218 | |
43 | LIST_COL_GROUP | Constant | Public | Type reference (TYPE) | I | 7 | List Color Group | 19990222 | |
44 | LIST_COL_HEADING | Constant | Public | Type reference (TYPE) | I | 1 | List Color Heading | 19990218 | |
45 | LIST_COL_KEY | Constant | Public | Type reference (TYPE) | I | 4 | List Color Key | 19990222 | |
46 | LIST_COL_NEGATIVE | Constant | Public | Type reference (TYPE) | I | 6 | List Color Negative | 19990222 | |
47 | LIST_COL_NORMAL | Constant | Public | Type reference (TYPE) | I | 2 | List Color Normal | 19990222 | |
48 | LIST_COL_POSITIVE | Constant | Public | Type reference (TYPE) | I | 5 | List Color Positive | 19990222 | |
49 | LIST_COL_TOTAL | Constant | Public | Type reference (TYPE) | I | 3 | List Color Total | 19990222 | |
50 | LIST_INTENSIFIED | Constant | Public | Type reference (TYPE) | I | 1 | Intensified Version of List Color | 19990222 | |
51 | LIST_INVERSE | Constant | Public | Type reference (TYPE) | I | 2 | Inverse Version of List Color | 19990222 | |
52 | STD_BACKGROUND_COLOR | Static Attribute | Private | Type reference (TYPE) | I | Current Background Color; Context Specific | 19990223 | ||
53 | STD_BACKGROUND_COLOR_LEVEL1 | Static Attribute | Private | Type reference (TYPE) | I | Current Screen Background Color, Level 1 | 19990802 | ||
54 | STD_BACKGROUND_COLOR_LEVEL2 | Static Attribute | Private | Type reference (TYPE) | I | Current Screen Background Color, Level 2 | 19990802 | ||
55 | STD_FONTNAME | Static Attribute | Private | Type reference (TYPE) | STRING | Current Default Font Name | 19990222 | ||
56 | STD_FONTSIZE | Static Attribute | Private | Type reference (TYPE) | I | Current Default Font Size | 19990222 | ||
57 | STD_FOREGROUND_COLOR | Static Attribute | Private | Type reference (TYPE) | I | Current Default Foreground Color | 19990223 | ||
58 | STD_TEXTAREA_COLOR | Static Attribute | Private | Type reference (TYPE) | I | Current Text Area Color | 19990803 | ||
59 | STD_THEMENAME | Static Attribute | Private | Type reference (TYPE) | STRING | Current Theme Name | 20100727 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | Constructor | 20000117 |
2 | GET_BACKGROUND_COLOR | Static method | Public | Method | Returns Value of Background Color; buffers std. resources | 19990223 |
3 | GET_COLOR | Static method | Public | Method | Returns the Value of a GUI Color (General) | 19990218 |
4 | GET_COLORS | Static method | Public | Method | Returns the Value of GUI Colors (General) in Table | 19990413 |
5 | GET_DYNPRO_COLORS | Static method | Public | Method | Not yet Usable | 19990802 |
6 | GET_FONTNAME | Static method | Public | Method | Returns the Name of the Font; buffers standard resources | 19990222 |
7 | GET_FONTSIZE | Static method | Public | Method | Returns Font Size in Points; Buffers Standard Resources | 19990222 |
8 | GET_FONT_INFOS | Static method | Public | Method | Returns Name and Size of Font | 19990413 |
9 | GET_FOREGROUND_COLOR | Static method | Public | Method | Returns Value of Foreground Color; buffers std. resources | 19990223 |
10 | GET_LIST_COLOR | Static method | Public | Method | Returns Value of a List Color; buffers standard resources | 19990219 |
11 | GET_LIST_COLORS | Static method | Public | Method | Returns Table of all List Colors; buffers standard resources | 19990222 |
12 | GET_STANDARD_RESOURCES | Static method | Private | Method | Buffers Standard GUI Resources (List Colors, Font Info, ...) | 19990222 |
13 | GET_THEMENAME | Static method | Public | Method | Gets name of theme; buffers standard resources | 20100727 |
14 | ON_RESOURCES_CHANGED | Static method | Public | Event handling method | For Changes to GUI Settings (Color, Font...) | 20000117 |
Events
# | Event | Type | Visibility | Description | Created on |
---|---|---|---|---|---|
1 | RESOURCES_CHANGED | Static Event (1) |
Public (2) |
Changes to GUI Settings (Colors, Font...) | 20000117 |
Types
Class CL_GUI_RESOURCES has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_GUI_RESOURCES has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GUI_RESOURCES has no exception.
Method GET_BACKGROUND_COLOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | COLOR | Call by reference | Type reference (TYPE) | I | Wert der Farbe | 19990223 | ||
2 | Importing | ID | Call by reference | Type reference (TYPE) | I | ID der Farbe | 19990223 | ||
3 | Importing | STATE | Call by reference | Type reference (TYPE) | I | Zustand | 19990223 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | GET_STD_RESOURCE_ERROR | Fehler beim Abholen der Standard Resource | 19990225 |
Method GET_COLOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | COLOR | Call by reference | Type reference (TYPE) | I | Wert der Farbe | 19990219 | ||
2 | Importing | ID | Call by reference | Type reference (TYPE) | I | ID der Farbe | 19990219 | ||
3 | Importing | ISBACKCOLOR | Call by reference | Type reference (TYPE) | C | ist Hintergrundfarbe | 19990219 | ||
4 | Importing | STATE | Call by reference | Type reference (TYPE) | I | Zustand | 19990219 | ||
5 | Importing | WITH_FLUSH | Call by reference | Type reference (TYPE) | C | Flush wird durchgeführt | 19990225 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CNTL_ERROR | Control Fehler | 19990223 | |
2 | ERROR_GET_OBJ | Fehler beim Abholen der Ressource | 19990219 |
Method GET_COLORS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | TABLE_OF_BG_COLORS | Call by reference | Type reference (TYPE) | CNTL_COL_VALUE_TAB | Tabelle für die Hintergrundfarben | 19990413 | ||
2 | Changing | TABLE_OF_FG_COLORS | Call by reference | Type reference (TYPE) | CNTL_COL_VALUE_TAB | Tabelle für die Vordergrundfarben | 19990413 | ||
3 | Importing | WITH_FLUSH | Call by reference | Type reference (TYPE) | C | Flush wird durchgeführt | 19990413 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CNTL_ERROR | Control Fehler | 19990413 | |
2 | ERROR_GET_OBJ | Fehler beim Abholen der Ressource | 19990413 |
Method GET_DYNPRO_COLORS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | COL_BACKGROUND_LEVEL1 | Call by reference | Type reference (TYPE) | I | RGB-Wert der Hintergrund-Farbe, Level 1 | 19990802 | ||
2 | Exporting | COL_BACKGROUND_LEVEL2 | Call by reference | Type reference (TYPE) | I | RGB-Wert der Hintergrund-Farbe, Level 2 | 19990802 | ||
3 | Exporting | COL_TEXTAREA | Call by reference | Type reference (TYPE) | I | RGB-Wert eines Textbereichs | 19990803 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | GET_STD_RESOURCE_ERROR | Fehler beim Abholen der Standard Resource | 19990802 |
Method GET_FONTNAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | FONTNAME | Call by reference | Type reference (TYPE) | STRING | Name des Fonts | 19990222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | GET_STD_RESOURCE_ERROR | Fehler beim Abholen der Standard Resource | 19990225 |
Method GET_FONTSIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | FONTSIZE | Call by reference | Type reference (TYPE) | I | Größe des Fonts | 19990222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | GET_STD_RESOURCE_ERROR | Fehler beim Abholen der Standard Resource | 19990223 |
Method GET_FONT_INFOS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | FONTNAME | Call by reference | Type reference (TYPE) | CHAR80 | Name des Fonts | 19990413 | ||
2 | Exporting | FONTSIZE | Call by reference | Type reference (TYPE) | I | Größe des Fonts | 19990413 | ||
3 | Importing | WITH_FLUSH | Call by reference | Type reference (TYPE) | C | Flush wird durchgeführt | 19990413 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CNTL_ERROR | Control Fehler | 19990413 | |
2 | ERROR_GET_OBJ | Fehler beim Abholen der Ressource | 19990413 |
Method GET_FOREGROUND_COLOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | COLOR | Call by reference | Type reference (TYPE) | I | Wert der Farbe | 19990223 | ||
2 | Importing | ID | Call by reference | Type reference (TYPE) | I | ID der Farbe | 19990223 | ||
3 | Importing | STATE | Call by reference | Type reference (TYPE) | I | Zustand | 19990223 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | GET_STD_RESOURCE_ERROR | Fehler beim Abholen der Standard Resource | 19990225 |
Method GET_LIST_COLOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | COLOR | Call by reference | Type reference (TYPE) | I | RGB-Wert der Listfarbe | 19990219 | ||
2 | Importing | ID | Call by reference | Type reference (TYPE) | I | Nummer der Listenfarbe (0,...7) | 19990219 | ||
3 | Importing | STATE | Call by reference | Type reference (TYPE) | I | 0 | Zustand (regulär: 0 , intensiv: 1 , invers: 2) | 19990219 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | GET_STD_RESOURCE_ERROR | Fehler beim Abholen der Standard Resource | 19990225 |
Method GET_LIST_COLORS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | TABLE_OF_LIST_COLORS | Call by reference | Type reference (TYPE) | CNTL_COL_VALUE_TAB | Tabelle mit den aktuellen Werten der Listenfarben | 19990222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | GET_STD_RESOURCE_ERROR | Fehler beim Abholen der Standard Resource | 19990225 |
Method GET_STANDARD_RESOURCES Signature
Method GET_STANDARD_RESOURCES on class CL_GUI_RESOURCES has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CNTL_ERROR | Control Fehler | 19990223 | |
2 | ERROR_GET_OBJ | Fehler beim Abholen der Ressource | 19990222 |
Method GET_THEMENAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | THEMENAME | Call by reference | Type reference (TYPE) | STRING | Name des Themes | 20100727 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | GET_STD_RESOURCE_ERROR | 20100727 |
Method ON_RESOURCES_CHANGED Signature
Method ON_RESOURCES_CHANGED on class CL_GUI_RESOURCES has no parameter.
Method ON_RESOURCES_CHANGED on class CL_GUI_RESOURCES has no exception.
Event Signatures
Event RESOURCES_CHANGED Signature
Event RESOURCES_CHANGED on class CL_GUI_RESOURCES has no parameter.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in |