SAP ABAP Class /UI5/CL_THEME_API (UI Theming: Public theming API (needs rework))
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
CA-UI2-THD (Application Component) Theme Designer
⤷
/UI5/THEMING_INFRA (Package) UI Theming Infrastructure

⤷

⤷

Properties
Class | /UI5/CL_THEME_API | |
Short Description | UI Theming: Public theming API (needs rework) | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /UI5/THEMING_INFRA | UI Theming Infrastructure |
Created | 20120713 | SAP |
Last change | 20141120 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /UI5/CL_THEME_API has no interface implemented.
Friends
Class /UI5/CL_THEME_API has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'com.sap.ui.ui_theming' | 20120713 | ||
2 | ![]() |
Constant | Public | See coding | 20130116 | ||||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | /UI5/THEME_LIBRARY_KEY | Key of a Theme Library | 20120713 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Build URL Parameter(s) to supply a theme | 20130304 |
2 | ![]() |
Static method | Public | Method | Calculates the cache string | 20130319 |
3 | ![]() |
Static method | Public | Method | Check if custom theme exists | 20130903 |
4 | ![]() |
Static method | Public | Method | Get hash from cache string | 20130319 |
5 | ![]() |
Static method | Public | Method | Get list of custom themes | 20140423 |
6 | ![]() |
Static method | Public | Method | Get theming file | 20130118 |
7 | ![]() |
Static method | Public | Method | Get file, Search it through theme hierarchy | 20130116 |
8 | ![]() |
Static method | Public | Method | Get URL for sap-cssurl | 20130116 |
9 | ![]() |
Static method | Public | Method | Get theme path from legacy CSS path syntax (like sap-cssurl) | 20130116 |
10 | ![]() |
Static method | Public | Method | Get server URL | 20130325 |
11 | ![]() |
Static method | Public | Method | Get information about a theme | 20140423 |
12 | ![]() |
Static method | Public | Method | Get theme root | 20130305 |
13 | ![]() |
Static method | Public | Method | List theming data of custom themes | 20130325 |
Events
Class /UI5/CL_THEME_API has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | T_ITEM | Public | Type reference (TYPE) | /UI5/CFS | 20120713 | |
|
2 | T_LIST | Public | See coding | 20120713 | t_list type standard table of /ui5/cfs with default key
|
||
3 | T_THEME_DATA | Public | See coding | 20130325 | begin of t_theme_data,
theme type string,
framework type string,
library type string.
include type /ui5/cfs.
types:
end of t_theme_data
|
||
4 | T_THEME_DATA_TAB | Public | See coding | 20130325 | t_theme_data_tab type standard table of t_theme_data with default key
|
||
5 | T_THEME_ENTITY_KEY | Public | See coding | 20130118 | begin of t_theme_entity_key,
framework type string,
library type string,
theme type string,
file type string,
entity_path type string,
offset_path type string,
end of t_theme_entity_key
|
Method Signatures
Method BUILD_THEME_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
BUILD_IN_FOR_SAP_THEMES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | SAP-Themes will not be delivered using the theming infra. | 20130419 | |
2 | ![]() |
CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | SY-MANDT | Client ID of Current User | 20130305 | |
3 | ![]() |
LEGACY_SUPPORT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130314 | ||
4 | ![]() |
SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20130304 | ||
5 | ![]() |
THEME_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130304 | |||
6 | ![]() |
THEME_PARAMETERS | Value transfer | Type reference (TYPE) | TIHTTPNVP | HTTP Framework (iHTTP) Table Name/Value Pairs | 20130304 | ||
7 | ![]() |
THEME_ROOT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130304 |
Method BUILD_THEME_PARAMETERS on class /UI5/CL_THEME_API has no exception.
Method CALC_CACHE_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TOKEN | Value transfer | Type reference (TYPE) | STRING | 20130319 |
Method CALC_CACHE_STRING on class /UI5/CL_THEME_API has no exception.
Method CUSTOM_THEME_EXISTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Client | 20130904 | |
2 | ![]() |
EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130903 | |||
3 | ![]() |
FRAMEWORK | Call by reference | Type reference (TYPE) | STRING | 20130903 | |||
4 | ![]() |
LIBRARY | Call by reference | Type reference (TYPE) | STRING | 20130903 | |||
5 | ![]() |
THEME_ID | Call by reference | Type reference (TYPE) | STRING | 20130903 |
Method CUSTOM_THEME_EXISTS on class /UI5/CL_THEME_API has no exception.
Method GET_CACHE_TOKEN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | SY-MANDT | 20130320 | ||
2 | ![]() |
TOKEN | Value transfer | Type reference (TYPE) | STRING | 20130319 |
Method GET_CACHE_TOKEN on class /UI5/CL_THEME_API has no exception.
Method GET_CUSTOM_THEMES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SEARCH_FRAMEWORK | Call by reference | Type reference (TYPE) | STRING | 'Base' | Return themes for that framework | 20140423 | |
2 | ![]() |
SEARCH_LIBRARY | Call by reference | Type reference (TYPE) | STRING | 'baseLib' | Return themes for that library | 20140423 | |
3 | ![]() |
THEME_IDS | Value transfer | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20140423 |
Method GET_CUSTOM_THEMES on class /UI5/CL_THEME_API has no exception.
Method GET_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PATH | Call by reference | Type reference (TYPE) | STRING | 20130118 | |||
2 | ![]() |
PATH_INFO | Call by reference | Type reference (TYPE) | /UI5/CL_THEME_ENTITY=>T_PATH_INFO | 20130118 | |||
3 | ![]() |
RESOURCE | Value transfer | Object reference (TYPE REF TO) | /UI5/IF_VFS_FILE | WebDAV API | 20130118 | ||
4 | ![]() |
ZIP | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20130118 |
Method GET_FILE on class /UI5/CL_THEME_API has no exception.
Method GET_FILE_OPAQUE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
FILE | Value transfer | Object reference (TYPE REF TO) | /UI5/IF_VFS_FILE | Virtual File System - File API | 20130116 | ||
2 | ![]() |
PATH | Call by reference | Type reference (TYPE) | STRING | 20130116 |
Method GET_FILE_OPAQUE on class /UI5/CL_THEME_API has no exception.
Method GET_LEGACY_CSSURL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CSSURL | Value transfer | Type reference (TYPE) | STRING | 20130314 | |||
2 | ![]() |
LEGACY_DEVICE | Call by reference | Type reference (TYPE) | CSEQUENCE | 'ie6' | 20130314 | ||
3 | ![]() |
LEGACY_THEME_PART | Call by reference | Type reference (TYPE) | CSEQUENCE | 'ur' | 20130314 | ||
4 | ![]() |
THEME_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130314 | |||
5 | ![]() |
THEME_ROOT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130314 |
Method GET_LEGACY_CSSURL on class /UI5/CL_THEME_API has no exception.
Method GET_PATH_FROM_LEGACY_URL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
LEGACY_PATH | Call by reference | Type reference (TYPE) | STRING | 20130116 | |||
2 | ![]() |
PATH | Value transfer | Type reference (TYPE) | STRING | 20130116 | |||
3 | ![]() |
THEME_ENTITY | Call by reference | Type reference (TYPE) | I | 20130116 |
Method GET_PATH_FROM_LEGACY_URL on class /UI5/CL_THEME_API has no exception.
Method GET_SERVER_URL Signature
Method GET_SERVER_URL on class /UI5/CL_THEME_API has no parameter.
Method GET_SERVER_URL on class /UI5/CL_THEME_API has no exception.
Method GET_THEME_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EXTENDS_THEME_ID | Call by reference | Type reference (TYPE) | STRING | 20140423 | |||
2 | ![]() |
LABEL | Call by reference | Type reference (TYPE) | STRING | 20140423 | |||
3 | ![]() |
TEXT_DIRECTIONS | Call by reference | Type reference (TYPE) | STRING | 20140423 | |||
4 | ![]() |
THEME_ID | Call by reference | Type reference (TYPE) | STRING | 20140423 | |||
5 | ![]() |
VENDOR | Call by reference | Type reference (TYPE) | STRING | 20140423 |
Method GET_THEME_INFO on class /UI5/CL_THEME_API has no exception.
Method GET_THEME_ROOT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ADMIN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130305 | ||
2 | ![]() |
ALWAYS_HTTPS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130325 | ||
3 | ![]() |
CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | SY-MANDT | Client ID of Current User | 20130305 | |
4 | ![]() |
SERVER | Call by reference | Object reference (TYPE REF TO) | IF_HTTP_SERVER | HTTP Framework (iHTTP) HTTP Server | 20130325 | ||
5 | ![]() |
THEME_ROOT | Value transfer | Type reference (TYPE) | STRING | 20130305 | |||
6 | ![]() |
WITH_CACHE_TOKEN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130325 | ||
7 | ![]() |
WITH_SERVER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130325 |
Method GET_THEME_ROOT on class /UI5/CL_THEME_API has no exception.
Method LIST_THEME_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
THEME_DATA_TAB | Value transfer | Type reference (TYPE) | T_THEME_DATA_TAB | 20130325 |
Method LIST_THEME_DATA on class /UI5/CL_THEME_API has no exception.
History
Last changed by/on | SAP | 20141120 |
SAP Release Created in | 100 |