Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_CRM_WEB_CALLBACK | Interface for handler method of service callback | 20090317 |
Properties
| Class | CL_THTMLB_COLOR_UTIL | |
| Short Description | test | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BSP_DYN_CONFIG_TAG_LIB | New tag library for CRM IC |
| Created | 20090304 | 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
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_CRM_WEB_CALLBACK | Interface for handler method of service callback | 20090317 |
Friends
Class CL_THTMLB_COLOR_UTIL 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 | 'HC' | comman to turn in black and white | 20100317 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'HCI' | 20100317 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | '$' | 20100317 | |||
| 4 | Static Attribute | Protected | Type reference (TYPE) | ICON_TAB | list of high contrast black icons in mime rep | 20100317 | |||
| 5 | Static Attribute | Protected | Type reference (TYPE) | STRING | 20100611 | ||||
| 6 | Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Flag if the color code is short (3 chars instead of 6) | 20130418 |
Methods
Events
Class CL_THTMLB_COLOR_UTIL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | COLOR_STRUC | Public | See coding | 20091119 | BEGIN OF COLOR_STRUC,
RGB TYPE STRING,
RED TYPE I,
GREEN TYPE I,
BLUE TYPE I,
H TYPE DEC,
S TYPE DEC,
L TYPE DEC,
END OF COLOR_STRUC
|
||
| 2 | DEC | Public | See coding | 20090304 | DEC TYPE P LENGTH 5 DECIMALS 5
|
||
| 3 | ICON_STRUC | Protected | See coding | 20100317 | BEGIN OF ICON_STRUC,
NAME TYPE STRING,
END OF ICON_STRUC
|
||
| 4 | ICON_TAB | Protected | See coding | 20100317 | ICON_TAB TYPE SORTED TABLE OF ICON_STRUC WITH UNIQUE KEY NAME
|
Method Signatures
Method ADJUST_SHIFT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_B | Value transfer | Type reference (TYPE) | DEC | 20090304 | ||||
| 2 | IV_A | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 3 | IV_B | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 4 | IV_BASE_A | Call by reference | Type reference (TYPE) | DEC | 20090304 |
Method ADJUST_SHIFT on class CL_THTMLB_COLOR_UTIL has no exception.
Method APPLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NEW_RGB | Value transfer | Type reference (TYPE) | STRING | 20091124 | ||||
| 2 | IS_BASE_COLOR | Call by reference | Type reference (TYPE) | COLOR_STRUC | 20091124 | ||||
| 3 | IV_COLOR_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20091124 | ||||
| 4 | IV_COMMAND | Call by reference | Type reference (TYPE) | STRING | 20091124 | ||||
| 5 | IV_H_TOLERANCE | Call by reference | Type reference (TYPE) | DEC | 20091124 | ||||
| 6 | IV_LUMINANCE_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20091124 | ||||
| 7 | IV_OLD_RGB | Call by reference | Type reference (TYPE) | STRING | 20091124 | ||||
| 8 | IV_SATURATION_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20091124 |
Method APPLY on class CL_THTMLB_COLOR_UTIL has no exception.
Method CHANGE_COLOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NEW_RGB | Value transfer | Type reference (TYPE) | STRING | 20090304 | ||||
| 2 | IV_BASE_H | Call by reference | Type reference (TYPE) | DEC | 20091119 | ||||
| 3 | IV_BASE_L | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 4 | IV_BASE_S | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 5 | IV_COLOR_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 6 | IV_H_TOLERANCE | Call by reference | Type reference (TYPE) | DEC | 20091119 | ||||
| 7 | IV_LUMINANCE_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 8 | IV_OLD_RGB | Call by reference | Type reference (TYPE) | STRING | 20090304 | ||||
| 9 | IV_SATURATION_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20090304 |
Method CHANGE_COLOR on class CL_THTMLB_COLOR_UTIL has no exception.
Method COLORIZE_CSS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLOR | Call by reference | Type reference (TYPE) | STRING | 20090926 | ||||
| 2 | IV_CURRENT_SKIN_PATH | Call by reference | Type reference (TYPE) | STRING | 20090926 | ||||
| 3 | IV_ORIGINAL_CSS | Call by reference | Type reference (TYPE) | STRING | 20090926 | ||||
| 4 | RV_COLORIZED_CSS | Value transfer | Type reference (TYPE) | STRING | 20090926 |
Method COLORIZE_CSS on class CL_THTMLB_COLOR_UTIL has no exception.
Method COLORIZE_FLEX_CSS_BLACK_WHITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CURRENT_SKIN_PATH | Call by reference | Type reference (TYPE) | STRING | 20100902 | ||||
| 2 | IV_ORIGINAL_CSS | Call by reference | Type reference (TYPE) | STRING | 20100901 | ||||
| 3 | RV_COLORIZED_CSS | Value transfer | Type reference (TYPE) | STRING | 20100901 |
Method COLORIZE_FLEX_CSS_BLACK_WHITE on class CL_THTMLB_COLOR_UTIL has no exception.
Method DEC_TO_HEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HEX | Value transfer | Type reference (TYPE) | BCFARBTYP | Color | 20090304 | |||
| 2 | IV_DEC | Call by reference | Type reference (TYPE) | I | 20090304 |
Method DEC_TO_HEX on class CL_THTMLB_COLOR_UTIL has no exception.
Method GET_COLOR_PERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_COLOR | Value transfer | Type reference (TYPE) | STRING | 20090304 | ||||
| 2 | IV_PERS_LEVEL | Call by reference | Type reference (TYPE) | INT1 | 1 | Level of personalization to check | 20130219 |
Method GET_COLOR_PERS on class CL_THTMLB_COLOR_UTIL has no exception.
Method GET_HARMONICCOLOR_PERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HARMONICCOLOR | Value transfer | Type reference (TYPE) | STRING | 20090317 |
Method GET_HARMONICCOLOR_PERS on class CL_THTMLB_COLOR_UTIL has no exception.
Method GET_IMAGE_REPLACE_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_URL | Value transfer | Type reference (TYPE) | STRING | 20100317 | ||||
| 2 | IV_COLOR | Call by reference | Type reference (TYPE) | STRING | RGB or command | 20100317 | |||
| 3 | IV_PATH | Call by reference | Type reference (TYPE) | STRING | url path | 20100317 |
Method GET_IMAGE_REPLACE_URL on class CL_THTMLB_COLOR_UTIL has no exception.
Method GET_IMAGE_REPLACE_URL_HCB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_URL | Value transfer | Type reference (TYPE) | STRING | 20100317 | ||||
| 2 | IV_COLOR | Call by reference | Type reference (TYPE) | STRING | RGB or command | 20100317 | |||
| 3 | IV_ICON_NAME | Call by reference | Type reference (TYPE) | STRING | icon name | 20100317 | |||
| 4 | IV_URL | Call by reference | Type reference (TYPE) | STRING | url path with skin name | 20100317 |
Method GET_IMAGE_REPLACE_URL_HCB on class CL_THTMLB_COLOR_UTIL has no exception.
Method GREYSCALE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RGB_COLOR | Value transfer | Type reference (TYPE) | STRING | 20091124 | ||||
| 2 | IV_RGB_COLOR | Call by reference | Type reference (TYPE) | STRING | 20091124 |
Method GREYSCALE on class CL_THTMLB_COLOR_UTIL has no exception.
Method GREYSCALE_INVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RGB_COLOR | Value transfer | Type reference (TYPE) | STRING | 20100315 | ||||
| 2 | IV_RGB_COLOR | Call by reference | Type reference (TYPE) | STRING | 20100315 |
Method GREYSCALE_INVERT on class CL_THTMLB_COLOR_UTIL has no exception.
Method HEX_TO_DEC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DEC | Value transfer | Type reference (TYPE) | I | 20090304 | ||||
| 2 | IV_HEX | Call by reference | Type reference (TYPE) | BCFARBTYP | Color | 20090304 |
Method HEX_TO_DEC on class CL_THTMLB_COLOR_UTIL has no exception.
Method HEX_TO_RGB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BLUE | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 2 | EV_GREEN | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 3 | EV_RED | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 4 | IV_HEX_RGB | Call by reference | Type reference (TYPE) | STRING | 20090304 |
Method HEX_TO_RGB on class CL_THTMLB_COLOR_UTIL has no exception.
Method HIGH_CONTRAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RGB_COLOR | Value transfer | Type reference (TYPE) | STRING | 20091206 | ||||
| 2 | IV_BLACK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20091206 | |||
| 3 | IV_RGB_COLOR | Call by reference | Type reference (TYPE) | STRING | 20091206 |
Method HIGH_CONTRAST on class CL_THTMLB_COLOR_UTIL has no exception.
Method HIGH_CONTRAST_2 Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_STYLES | Value transfer | Type reference (TYPE) | STRING | 20100107 | ||||
| 2 | IV_STYLES | Call by reference | Type reference (TYPE) | STRING | 20100107 |
Method HIGH_CONTRAST_2 on class CL_THTMLB_COLOR_UTIL has no exception.
Method HSL_TO_RGB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BLUE | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 2 | EV_GREEN | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 3 | EV_RED | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 4 | IV_H | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 5 | IV_L | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 6 | IV_S | Call by reference | Type reference (TYPE) | DEC | 20090304 |
Method HSL_TO_RGB on class CL_THTMLB_COLOR_UTIL has no exception.
Method HUE_TO_RGB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RGB | Value transfer | Type reference (TYPE) | DEC | 20090304 | ||||
| 2 | IV_HUE | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 3 | IV_V1 | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 4 | IV_V2 | Call by reference | Type reference (TYPE) | DEC | 20090304 |
Method HUE_TO_RGB on class CL_THTMLB_COLOR_UTIL has no exception.
Method INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_BASE_COLOR | Call by reference | Type reference (TYPE) | COLOR_STRUC | 20091119 | ||||
| 2 | ES_COLOR | Call by reference | Type reference (TYPE) | COLOR_STRUC | 20091119 | ||||
| 3 | EV_COLOR_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20091119 | ||||
| 4 | EV_COMMAND | Call by reference | Type reference (TYPE) | STRING | 20091119 | ||||
| 5 | EV_LUMINANCE_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20091119 | ||||
| 6 | EV_SATURATION_SHIFT | Call by reference | Type reference (TYPE) | DEC | 20091119 | ||||
| 7 | IV_COLOR | Call by reference | Type reference (TYPE) | STRING | 20091119 | ||||
| 8 | IV_CURRENT_SKIN_PATH | Call by reference | Type reference (TYPE) | STRING | 20091119 |
Method INIT on class CL_THTMLB_COLOR_UTIL has no exception.
Method INVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_INVERTED_RGB_COLOR | Value transfer | Type reference (TYPE) | STRING | 20091119 | ||||
| 2 | IV_RGB_COLOR | Call by reference | Type reference (TYPE) | STRING | 20091119 |
Method INVERT on class CL_THTMLB_COLOR_UTIL has no exception.
Method NORMALIZE_COLOR_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_COLOR_CODE | Value transfer | Type reference (TYPE) | STRING | 20090617 | ||||
| 2 | IV_COLOR_CODE | Call by reference | Type reference (TYPE) | STRING | 20090617 |
Method NORMALIZE_COLOR_CODE on class CL_THTMLB_COLOR_UTIL has no exception.
Method RGB_TO_HEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HEX_RGB | Value transfer | Type reference (TYPE) | STRING | 20090304 | ||||
| 2 | IV_BLUE | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 3 | IV_GREEN | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 4 | IV_RED | Call by reference | Type reference (TYPE) | I | 20090304 |
Method RGB_TO_HEX on class CL_THTMLB_COLOR_UTIL has no exception.
Method RGB_TO_HSL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_H | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 2 | EV_L | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 3 | EV_S | Call by reference | Type reference (TYPE) | DEC | 20090304 | ||||
| 4 | IV_BLUE | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 5 | IV_GREEN | Call by reference | Type reference (TYPE) | I | 20090304 | ||||
| 6 | IV_RED | Call by reference | Type reference (TYPE) | I | 20090304 |
Method RGB_TO_HSL on class CL_THTMLB_COLOR_UTIL has no exception.
Method SET_COLOR_PERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLOR | Call by reference | Type reference (TYPE) | STRING | 20090304 |
Method SET_COLOR_PERS on class CL_THTMLB_COLOR_UTIL has no exception.
Method SET_HARMONICCOLOR_PERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HARMONICCOLOR | Call by reference | Type reference (TYPE) | STRING | 20090317 |
Method SET_HARMONICCOLOR_PERS on class CL_THTMLB_COLOR_UTIL has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 701 |