Skip to content

/AWS1/CL_CNTPALETTEPRIMARY

Contains primary color configuration for a workspace theme.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_default TYPE /AWS1/CNTTHEMESTRING /AWS1/CNTTHEMESTRING

The default primary color used throughout the workspace.

iv_active TYPE /AWS1/CNTTHEMESTRING /AWS1/CNTTHEMESTRING

The primary color used for active states.

iv_contrasttext TYPE /AWS1/CNTTHEMESTRING /AWS1/CNTTHEMESTRING

The text color that contrasts with the primary color for readability.


Queryable Attributes

Default

The default primary color used throughout the workspace.

Accessible with the following methods

Method Description
GET_DEFAULT() Getter for DEFAULT, with configurable default
ASK_DEFAULT() Getter for DEFAULT w/ exceptions if field has no value
HAS_DEFAULT() Determine if DEFAULT has a value

Active

The primary color used for active states.

Accessible with the following methods

Method Description
GET_ACTIVE() Getter for ACTIVE, with configurable default
ASK_ACTIVE() Getter for ACTIVE w/ exceptions if field has no value
HAS_ACTIVE() Determine if ACTIVE has a value

ContrastText

The text color that contrasts with the primary color for readability.

Accessible with the following methods

Method Description
GET_CONTRASTTEXT() Getter for CONTRASTTEXT, with configurable default
ASK_CONTRASTTEXT() Getter for CONTRASTTEXT w/ exceptions if field has no value
HAS_CONTRASTTEXT() Determine if CONTRASTTEXT has a value