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

⤷

⤷

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 | ![]() |
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 | ![]() |
Constant | Public | Type reference (TYPE) | I | 46 | Affirmative Color | 20120706 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | I | 41 | Application Toolbar Color | 20120706 | |
3 | ![]() |
Constant | Public | Type reference (TYPE) | I | 32 | Pushbutton Color | 20120706 | |
4 | ![]() |
Constant | Public | Type reference (TYPE) | I | 34 | Checkbox Color | 20120706 | |
5 | ![]() |
Constant | Public | Type reference (TYPE) | I | 37 | Dialog Box Color | 20120706 | |
6 | ![]() |
Constant | Public | Type reference (TYPE) | I | 45 | Dialog Title Color | 20120706 | |
7 | ![]() |
Constant | Public | Type reference (TYPE) | I | 52 | Dropdown List Entry Color | 20120706 | |
8 | ![]() |
Constant | Public | Type reference (TYPE) | I | 31 | Entry Field Color | 20120706 | |
9 | ![]() |
Constant | Public | Type reference (TYPE) | I | 56 | Bottom Border Color | 20120706 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | I | 49 | Read-Only Entry Field Color | 20120706 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | I | 48 | Error Color | 20120706 | |
12 | ![]() |
Constant | Public | Type reference (TYPE) | I | 35 | Frame Color | 20120706 | |
13 | ![]() |
Constant | Public | Type reference (TYPE) | I | 51 | Frame Title Color | 20120706 | |
14 | ![]() |
Constant | Public | Type reference (TYPE) | I | 30 | Label Color | 20120706 | |
15 | ![]() |
Constant | Public | Type reference (TYPE) | I | 39 | Menu Color | 20120706 | |
16 | ![]() |
Constant | Public | Type reference (TYPE) | I | 44 | Menu Item Color | 20120706 | |
17 | ![]() |
Constant | Public | Type reference (TYPE) | I | 33 | Radiobutton Color | 20120706 | |
18 | ![]() |
Constant | Public | Type reference (TYPE) | I | 38 | Scrollbar Color | 20120706 | |
19 | ![]() |
Constant | Public | Type reference (TYPE) | I | 43 | Status Bar Color | 20120706 | |
20 | ![]() |
Constant | Public | Type reference (TYPE) | I | 54 | Subscreen Inner Border Color | 20120706 | |
21 | ![]() |
Constant | Public | Type reference (TYPE) | I | 53 | Subscreen Outer Border Color | 20120706 | |
22 | ![]() |
Constant | Public | Type reference (TYPE) | I | 50 | Tab Button Color | 20120706 | |
23 | ![]() |
Constant | Public | Type reference (TYPE) | I | 55 | Frame Color | 20120706 | |
24 | ![]() |
Constant | Public | Type reference (TYPE) | I | 40 | Title Color | 20120706 | |
25 | ![]() |
Constant | Public | Type reference (TYPE) | I | 42 | Toolbar Color | 20120706 | |
26 | ![]() |
Constant | Public | Type reference (TYPE) | I | 47 | Warning Color | 20120706 | |
27 | ![]() |
Constant | Public | Type reference (TYPE) | I | 36 | Main Window Color | 20120706 | |
28 | ![]() |
Constant | Public | Type reference (TYPE) | I | 16 | Disabled Style Color | 20120706 | |
29 | ![]() |
Constant | Public | Type reference (TYPE) | I | 2 | Intensified Style Color | 20120706 | |
30 | ![]() |
Constant | Public | Type reference (TYPE) | I | 4 | Inverse Style Color | 20120706 | |
31 | ![]() |
Constant | Public | Type reference (TYPE) | I | 1 | Regular Style Color | 20120706 | |
32 | ![]() |
Constant | Public | Type reference (TYPE) | I | 8 | Selected Style Color | 20120706 | |
33 | ![]() |
Constant | Public | Type reference (TYPE) | I | 36 | Color ID: Background, Step 1 | 19990730 | |
34 | ![]() |
Constant | Public | Type reference (TYPE) | I | 35 | Color ID: Background, Step 2 | 19990730 | |
35 | ![]() |
Constant | Public | Type reference (TYPE) | I | 31 | Color ID: Background for Text Areas | 19990730 | |
36 | ![]() |
Constant | Public | Type reference (TYPE) | I | 60 | Color ID: Tree Level 1 | 19990730 | |
37 | ![]() |
Constant | Public | Type reference (TYPE) | I | 61 | Color ID: Tree Level 2 | 19990730 | |
38 | ![]() |
Constant | Public | Type reference (TYPE) | I | 62 | Color ID: Tree Level 3 | 19990730 | |
39 | ![]() |
Constant | Public | Type reference (TYPE) | I | 63 | Color ID: Tree Level 4 | 19990730 | |
40 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | Standard GUI Resources Have Already Been Buffered | 19990222 | ||
41 | ![]() |
Static Attribute | Private | Type reference (TYPE) | CNTL_COL_VALUE_TAB | Buffer for Current List Colors | 19990219 | ||
42 | ![]() |
Constant | Public | Type reference (TYPE) | I | 0 | List Color Background | 19990218 | |
43 | ![]() |
Constant | Public | Type reference (TYPE) | I | 7 | List Color Group | 19990222 | |
44 | ![]() |
Constant | Public | Type reference (TYPE) | I | 1 | List Color Heading | 19990218 | |
45 | ![]() |
Constant | Public | Type reference (TYPE) | I | 4 | List Color Key | 19990222 | |
46 | ![]() |
Constant | Public | Type reference (TYPE) | I | 6 | List Color Negative | 19990222 | |
47 | ![]() |
Constant | Public | Type reference (TYPE) | I | 2 | List Color Normal | 19990222 | |
48 | ![]() |
Constant | Public | Type reference (TYPE) | I | 5 | List Color Positive | 19990222 | |
49 | ![]() |
Constant | Public | Type reference (TYPE) | I | 3 | List Color Total | 19990222 | |
50 | ![]() |
Constant | Public | Type reference (TYPE) | I | 1 | Intensified Version of List Color | 19990222 | |
51 | ![]() |
Constant | Public | Type reference (TYPE) | I | 2 | Inverse Version of List Color | 19990222 | |
52 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | Current Background Color; Context Specific | 19990223 | ||
53 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | Current Screen Background Color, Level 1 | 19990802 | ||
54 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | Current Screen Background Color, Level 2 | 19990802 | ||
55 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | Current Default Font Name | 19990222 | ||
56 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | Current Default Font Size | 19990222 | ||
57 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | Current Default Foreground Color | 19990223 | ||
58 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | Current Text Area Color | 19990803 | ||
59 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | Current Theme Name | 20100727 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Constructor | Constructor | 20000117 |
2 | ![]() |
Static method | Public | Method | Returns Value of Background Color; buffers std. resources | 19990223 |
3 | ![]() |
Static method | Public | Method | Returns the Value of a GUI Color (General) | 19990218 |
4 | ![]() |
Static method | Public | Method | Returns the Value of GUI Colors (General) in Table | 19990413 |
5 | ![]() |
Static method | Public | Method | Not yet Usable | 19990802 |
6 | ![]() |
Static method | Public | Method | Returns the Name of the Font; buffers standard resources | 19990222 |
7 | ![]() |
Static method | Public | Method | Returns Font Size in Points; Buffers Standard Resources | 19990222 |
8 | ![]() |
Static method | Public | Method | Returns Name and Size of Font | 19990413 |
9 | ![]() |
Static method | Public | Method | Returns Value of Foreground Color; buffers std. resources | 19990223 |
10 | ![]() |
Static method | Public | Method | Returns Value of a List Color; buffers standard resources | 19990219 |
11 | ![]() |
Static method | Public | Method | Returns Table of all List Colors; buffers standard resources | 19990222 |
12 | ![]() |
Static method | Private | Method | Buffers Standard GUI Resources (List Colors, Font Info, ...) | 19990222 |
13 | ![]() |
Static method | Public | Method | Gets name of theme; buffers standard resources | 20100727 |
14 | ![]() |
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 | ![]() |
COLOR | Call by reference | Type reference (TYPE) | I | Wert der Farbe | 19990223 | ||
2 | ![]() |
ID | Call by reference | Type reference (TYPE) | I | ID der Farbe | 19990223 | ||
3 | ![]() |
STATE | Call by reference | Type reference (TYPE) | I | Zustand | 19990223 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
COLOR | Call by reference | Type reference (TYPE) | I | Wert der Farbe | 19990219 | ||
2 | ![]() |
ID | Call by reference | Type reference (TYPE) | I | ID der Farbe | 19990219 | ||
3 | ![]() |
ISBACKCOLOR | Call by reference | Type reference (TYPE) | C | ist Hintergrundfarbe | 19990219 | ||
4 | ![]() |
STATE | Call by reference | Type reference (TYPE) | I | Zustand | 19990219 | ||
5 | ![]() |
WITH_FLUSH | Call by reference | Type reference (TYPE) | C | Flush wird durchgeführt | 19990225 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Control Fehler | 19990223 | |
2 | ![]() |
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 | ![]() |
TABLE_OF_BG_COLORS | Call by reference | Type reference (TYPE) | CNTL_COL_VALUE_TAB | Tabelle für die Hintergrundfarben | 19990413 | ||
2 | ![]() |
TABLE_OF_FG_COLORS | Call by reference | Type reference (TYPE) | CNTL_COL_VALUE_TAB | Tabelle für die Vordergrundfarben | 19990413 | ||
3 | ![]() |
WITH_FLUSH | Call by reference | Type reference (TYPE) | C | Flush wird durchgeführt | 19990413 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Control Fehler | 19990413 | |
2 | ![]() |
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 | ![]() |
COL_BACKGROUND_LEVEL1 | Call by reference | Type reference (TYPE) | I | RGB-Wert der Hintergrund-Farbe, Level 1 | 19990802 | ||
2 | ![]() |
COL_BACKGROUND_LEVEL2 | Call by reference | Type reference (TYPE) | I | RGB-Wert der Hintergrund-Farbe, Level 2 | 19990802 | ||
3 | ![]() |
COL_TEXTAREA | Call by reference | Type reference (TYPE) | I | RGB-Wert eines Textbereichs | 19990803 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
FONTNAME | Call by reference | Type reference (TYPE) | STRING | Name des Fonts | 19990222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
FONTSIZE | Call by reference | Type reference (TYPE) | I | Größe des Fonts | 19990222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
FONTNAME | Call by reference | Type reference (TYPE) | CHAR80 | Name des Fonts | 19990413 | ||
2 | ![]() |
FONTSIZE | Call by reference | Type reference (TYPE) | I | Größe des Fonts | 19990413 | ||
3 | ![]() |
WITH_FLUSH | Call by reference | Type reference (TYPE) | C | Flush wird durchgeführt | 19990413 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Control Fehler | 19990413 | |
2 | ![]() |
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 | ![]() |
COLOR | Call by reference | Type reference (TYPE) | I | Wert der Farbe | 19990223 | ||
2 | ![]() |
ID | Call by reference | Type reference (TYPE) | I | ID der Farbe | 19990223 | ||
3 | ![]() |
STATE | Call by reference | Type reference (TYPE) | I | Zustand | 19990223 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
COLOR | Call by reference | Type reference (TYPE) | I | RGB-Wert der Listfarbe | 19990219 | ||
2 | ![]() |
ID | Call by reference | Type reference (TYPE) | I | Nummer der Listenfarbe (0,...7) | 19990219 | ||
3 | ![]() |
STATE | Call by reference | Type reference (TYPE) | I | 0 | Zustand (regulär: 0 , intensiv: 1 , invers: 2) | 19990219 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 | ![]() |
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 | ![]() |
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 | ![]() |
Control Fehler | 19990223 | |
2 | ![]() |
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 | ![]() |
THEMENAME | Call by reference | Type reference (TYPE) | STRING | Name des Themes | 20100727 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
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 |