SAP ABAP Class CL_WDR_CUSTOM_STYLE_MANAGER (Administration of Custom Styles)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-ABA (Application Component) Web Dynpro ABAP
⤷
SWDP_RUNTIME_SERVICES (Package) Web Dynpro: Additional Services of Web Dynpro Runtime
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_WD_CUSTOM_STYLE_MANAGER | Administration of Custom Styles | 20131118 |
Properties
| Class | CL_WDR_CUSTOM_STYLE_MANAGER | |
| Short Description | Administration of Custom Styles | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWDP_RUNTIME_SERVICES | Web Dynpro: Additional Services of Web Dynpro Runtime |
| Created | 20131118 | 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 interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_WD_CUSTOM_STYLE_MANAGER | Administration of Custom Styles | 20131118 |
Friends
Class CL_WDR_CUSTOM_STYLE_MANAGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | STRING_TABLE | List of style blocks to be rendered | 20131206 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | T_CONDITIONAL_FORMAT_RULES | 20140520 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | T_CUSTOM_STYLES | 20131118 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | T_PAGE_STYLE_CLASS_NAMES | Style Class Names on the page | 20140331 | |||
| 5 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_WDR_CUSTOM_STYLE_MANAGER | Singleton Custom Style Manager Instance | 20131129 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | T_ELEMENT_CONTROL_MAP | Mapping UI Element -> UR Control | 20131129 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | STRING | Default ID for Style Blocks | 20140306 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | IF_WD_CUSTOM_STYLE_MANAGER=>T_ELEMENT_TYPES | Supported Elements | 20140528 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20140627 | ||
| 2 | Instance method | Private | Method | Returns style class names and deletes internal table | 20140331 | |
| 3 | Static method | Private | Method | 20140528 | ||
| 4 | Static method | Public | Method | Returns an instance of Custom Style Manager | 20131118 | |
| 5 | Instance method | Private | Method | Returns Custom Style JSON as style blocks with ID | 20131205 | |
| 6 | Static method | Public | Method | Default ID for Style Blocks (application/app. configuration) | 20140808 | |
| 7 | Static method | Public | Method | Returns a list of supported elements | 20140528 | |
| 8 | Static method | Public | Method | Returns mappings of Web Dnypro UI element for UR control | 20131129 | |
| 9 | Static method | Public | Method | Returns mapping of Web Dnypro UI element for UR control | 20131129 | |
| 10 | Instance method | Private | Event handling method | Handles changes to custom style objects | 20140627 | |
| 11 | Static method | Private | Method | Initialization Default ID Style Blocks:Application|Conf | 20140306 | |
| 12 | Static method | Public | Method | Rerender Style Block | 20140808 | |
| 13 | Static method | Public | Method | Creates command for custom styles | 20131119 | |
| 14 | Instance method | Private | Method | Inserts a Custom Style (internal) | 20131206 |
Events
Class CL_WDR_CUSTOM_STYLE_MANAGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_CONDITION | Private | Attribute reference (LIKE) | 20140603 | |
||
| 2 | T_CONDITIONAL_FORMAT_RULE | Private | Attribute reference (LIKE) | 20140603 | |
||
| 3 | T_CONDITIONAL_FORMAT_RULES | Private | Attribute reference (LIKE) | 20140603 | |
||
| 4 | T_CUSTOM_STYLES | Private | See coding | 20131118 | t_custom_styles type sorted table of t_custom_style_map with unique key style_block_id style_class_name
|
||
| 5 | T_CUSTOM_STYLE_MAP | Private | See coding | 20131118 | begin of t_custom_style_map,
style_block_id type string,
style_class_name type string,
custom_style type ref to cl_wd_custom_style,
end of t_custom_style_map
|
||
| 6 | T_ELEMENT_CONTROL_MAP | Private | See coding | 20131129 | t_element_control_map type hashed table of t_element_control_mapping with unique key definition_name
|
||
| 7 | T_ELEMENT_CONTROL_MAPPING | Private | See coding | 20131129 | begin of t_element_control_mapping,
definition_name type wdy_md_ui_element_def_name,
control_type type string,
end of t_element_control_mapping
|
||
| 8 | T_PAGE_STYLE_CLASS_NAME | Private | See coding | 20140331 | begin of t_page_style_class_name,
style_class_name type string,
remove type abap_bool,
end of t_page_style_class_name
|
||
| 9 | T_PAGE_STYLE_CLASS_NAMES | Private | See coding | 20140331 | t_page_style_class_names type hashed table of t_page_style_class_name with unique key style_class_name
|
||
| 10 | T_STYLE_BLOCK | Private | See coding | 20131205 | begin of t_style_block,
style_block_id type string,
style_json type string,
end of t_style_block
|
||
| 11 | T_STYLE_BLOCKS | Private | See coding | 20131205 | t_style_blocks type sorted table of t_style_block with unique key style_block_id
|
Method Signatures
Method ADD_BLOCK_TO_RENDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BLOCK_ID | Call by reference | Type reference (TYPE) | STRING | 20140627 |
Method ADD_BLOCK_TO_RENDER on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method FLUSH_PAGE_STYLE_CLASS_NAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PAGE_STYLE_CLASS_NAMES | Value transfer | Type reference (TYPE) | T_PAGE_STYLE_CLASS_NAMES | StyleClassNames | 20140331 |
Method FLUSH_PAGE_STYLE_CLASS_NAMES on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method GET_CHILD_ELEMENTS_REC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALL_ELEMENTS | Call by reference | Object reference (TYPE REF TO) | WDY_UI_ELEM_DEF_TABLE | . | 20140528 | |||
| 2 | CHILDS | Call by reference | Type reference (TYPE) | WDY_UI_ELEM_DEF_TABLE | . | 20140528 | |||
| 3 | PARENT | Call by reference | Type reference (TYPE) | WDY_UI_ELEM_DEF | Web Dynpro : UI-Element-Definition | 20140528 |
Method GET_CHILD_ELEMENTS_REC on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method GET_CUSTOM_STYLE_MANAGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CUSTOM_STYLE_MANAGER | Value transfer | Object reference (TYPE REF TO) | IF_WD_CUSTOM_STYLE_MANAGER | Verwaltung von eigenen Styles | 20131118 |
Method GET_CUSTOM_STYLE_MANAGER on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method GET_STYLE_BLOCKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STYLE_BLOCKS | Value transfer | Type reference (TYPE) | T_STYLE_BLOCKS | 20131205 |
Method GET_STYLE_BLOCKS on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method GET_STYLE_BLOCK_DEFAULT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STYLE_BLOCK_DEFAULT_ID | Value transfer | Type reference (TYPE) | STRING | 20140808 |
Method GET_STYLE_BLOCK_DEFAULT_ID on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method GET_SUPPORTED_ELEMENT_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ELEMENT_TYPES | Value transfer | Type reference (TYPE) | IF_WD_CUSTOM_STYLE_MANAGER=>T_ELEMENT_TYPES | 20140528 |
Method GET_SUPPORTED_ELEMENT_TYPES on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method GET_TYPES_BY_DEFINITION_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTROL_TYPES | Value transfer | Type reference (TYPE) | STRING_TABLE | Tabelle von Strings | 20131129 | |||
| 2 | DEFINITION_NAME | Value transfer | Type reference (TYPE) | WDY_MD_UI_ELEMENT_DEF_NAME | 20131129 | ||||
| 3 | LIBRARY_NAME | Value transfer | Type reference (TYPE) | WDY_MD_UI_ELEMENT_LIBRARY | 20131129 |
Method GET_TYPES_BY_DEFINITION_NAME on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method GET_TYPE_BY_DEFINITION_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTROL_TYPE | Value transfer | Type reference (TYPE) | STRING | 20131129 | ||||
| 2 | DEFINITION_NAME | Value transfer | Type reference (TYPE) | WDY_MD_UI_ELEMENT_DEF_NAME | Web Dynpro : Web Dynpro UI-Element Definition | 20131129 | |||
| 3 | LIBRARY_NAME | Value transfer | Type reference (TYPE) | WDY_MD_UI_ELEMENT_LIBRARY | Web Dynpro : Name einer UI-Element-Library | 20131129 |
Method GET_TYPE_BY_DEFINITION_NAME on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method HANDLE_ON_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STYLE_CLASS_NAME | Call by reference | Attribute reference (LIKE) | 20140627 |
Method HANDLE_ON_CHANGE on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method INIT_STYLE_BLOCK_DEFAULT_ID Signature
Method INIT_STYLE_BLOCK_DEFAULT_ID on class CL_WDR_CUSTOM_STYLE_MANAGER has no parameter.
Method INIT_STYLE_BLOCK_DEFAULT_ID on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method MARK_STYLE_BLOCK_DIRTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STYLE_BLOCK_ID | Call by reference | Type reference (TYPE) | STRING | 20140808 |
Method MARK_STYLE_BLOCK_DIRTY on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method RENDER_CUSTOM_STYLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT_COMMAND_QUEUE | Call by reference | Object reference (TYPE REF TO) | IF_WDR_CLIENT_COMMAND | Kommando für den Client (UPDATE) | 20131119 |
Method RENDER_CUSTOM_STYLES on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
Method SET_CUSTOM_STYLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CUSTOM_STYLE | Call by reference | Object reference (TYPE REF TO) | IF_WD_CUSTOM_STYLE | Stylesheet Beschreibung | 20131206 | |||
| 2 | STYLE_BLOCK_ID | Call by reference | Type reference (TYPE) | CSEQUENCE | Id zur Gruppierung und Identifizierung des Custom Styles | 20131206 |
Method SET_CUSTOM_STYLE on class CL_WDR_CUSTOM_STYLE_MANAGER has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 740 |