Skip to content

/AWS1/CL_CNTPALETTEHEADER

Contains color configuration for header elements in a workspace theme.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_background TYPE /AWS1/CNTTHEMESTRING /AWS1/CNTTHEMESTRING

The background color of the header.

iv_text TYPE /AWS1/CNTTHEMESTRING /AWS1/CNTTHEMESTRING

The text color in the header.

iv_texthover TYPE /AWS1/CNTTHEMESTRING /AWS1/CNTTHEMESTRING

The text color when hovering over header elements.

iv_invertactionscolors TYPE /AWS1/CNTBOOLEAN /AWS1/CNTBOOLEAN

Whether to invert the colors of action buttons in the header.


Queryable Attributes

Background

The background color of the header.

Accessible with the following methods

Method Description
GET_BACKGROUND() Getter for BACKGROUND, with configurable default
ASK_BACKGROUND() Getter for BACKGROUND w/ exceptions if field has no value
HAS_BACKGROUND() Determine if BACKGROUND has a value

Text

The text color in the header.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

TextHover

The text color when hovering over header elements.

Accessible with the following methods

Method Description
GET_TEXTHOVER() Getter for TEXTHOVER, with configurable default
ASK_TEXTHOVER() Getter for TEXTHOVER w/ exceptions if field has no value
HAS_TEXTHOVER() Determine if TEXTHOVER has a value

InvertActionsColors

Whether to invert the colors of action buttons in the header.

Accessible with the following methods

Method Description
GET_INVERTACTIONSCOLORS() Getter for INVERTACTIONSCOLORS