Show TOC

ValueComparisonLocate this document in the navigation structure

Dieses UI-Element dient der grafischen Darstellung verschiedener Werte innerhalb eines Balkens. Neben einer 100 % Marke kann z.B. angezeigt werden, dass Werte über die 100 % hinausgehen.

Beispiel für die visuelle Darstellung

Hinweis

Um die Entwicklungbarrierefreier Anwendungen zu ermöglichen, wird im Rahmen des Syntaxchecks die Eigenschaft tooltip überprüft.

Laufzeit-Klasse

CL_WD_GRAPHICAL_VALUE_CMP

Eigenschaften im View Designer

Name Typ Anfangswert Bindbar

id

STRING

(automatisch)

nein

barValue

F

-1

ja

boxValue

F

-1

ja

colorAboveThreshold

WDUI_BAR_COLOR

negative

ja

colorBelowThreshold

WDUI_BAR_COLOR

neutral1

ja

colorBetweenThresholds

WDUI_BAR_COLOR

critical

ja

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

nein

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

 

nein

enabled

WDY_BOOLEAN

true

ja

lowerThresholdValue

F

-1

ja

markerType

WDUI_MARKER_TYPE

neutral

ja

markerValue

F

-1

ja

maxValue

F

-1

ja

styleClassName STRING   ja

text

Übersetzbarer Text

 

ja

tooltip

Übersetzbarer Text

 

ja

upperThresholdValue

F

-1

ja

visible

WDUI_VISIBILITY

visible

ja

width

I

0

ja

Hinweis

Weitere Eigenschaften, die über Vererbung zur Verfügung stehen, sind in den dazugehörigen übergeordneten Klassen definiert. Die dazugehörigen Oberflächenelemente sind:

Dynamische Programmierung

Für die dynamische Programmierung stehen dieselben Eigenschaften, Ereignisse und Aggregationen zur Verfügung wie im View Designer. Beachten Sie dabei die unterschiedlichen Schreibweisen.

Dynamische Programmierung der Eigenschaften

View Designer Name Laufzeitname Typ

barValue

BAR_VALUE

F

boxValue

BOX_VALUE

F

colorAboveThreshold

COLOR_ABOVE_THRESHOLD

WDUI_BAR_COLOR

colorAboveThreshold: critical

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_ABOVE_THRESHOLD-CRITICAL

colorAboveThreshold: negative

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_ABOVE_THRESHOLD-NEGATIVE

colorAboveThreshold: neutral1

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_ABOVE_THRESHOLD-NEUTRAL1

colorAboveThreshold: neutral2

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_ABOVE_THRESHOLD-NEUTRAL2

colorAboveThreshold: neutral3

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_ABOVE_THRESHOLD-NEUTRAL3

colorAboveThreshold: positive

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_ABOVE_THRESHOLD-POSITIVE

colorBelowThreshold

COLOR_BELOW_THRESHOLD

WDUI_BAR_COLOR

colorBelowThreshold: critical

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BELOW_THRESHOLD-CRITICAL

colorBelowThreshold: negative

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BELOW_THRESHOLD-NEGATIVE

colorBelowThreshold: neutral1

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BELOW_THRESHOLD-NEUTRAL1

colorBelowThreshold: neutral2

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BELOW_THRESHOLD-NEUTRAL2

colorBelowThreshold: neutral3

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BELOW_THRESHOLD-NEUTRAL3

colorBelowThreshold: positive

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BELOW_THRESHOLD-POSITIVE

colorBetweenThresholds

COLOR_BETWEEN_THRESHOLDS

WDUI_BAR_COLOR

colorBetweenThresholds: critical

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BETWEEN_THRESHOLDS-CRITICAL

colorBetweenThresholds: negative

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BETWEEN_THRESHOLDS-NEGATIVE

colorBetweenThresholds: neutral1

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BETWEEN_THRESHOLDS-NEUTRAL1

colorBetweenThresholds: neutral2

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BETWEEN_THRESHOLDS-NEUTRAL2

colorBetweenThresholds: neutral3

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BETWEEN_THRESHOLDS-NEUTRAL3

colorBetweenThresholds: positive

CL_WD_GRAPHICAL_VALUE_CMP=>E_COLOR_BETWEEN_THRESHOLDS-POSITIVE

contextMenuBehaviour

CONTEXT_MENU_BEHAVIOUR

WDUI_CONTEXT_MENU_BEHAVIOUR

contextMenuBehaviour: inherit

CL_WD_GRAPHICAL_VALUE_CMP=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT

contextMenuBehaviour: provide

CL_WD_GRAPHICAL_VALUE_CMP=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE

contextMenuBehaviour: suppress

CL_WD_GRAPHICAL_VALUE_CMP=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

enabled

ENABLED

WDY_BOOLEAN

lowerThresholdValue

LOWER_THRESHOLD_VALUE

F

markerType

MARKER_TYPE

WDUI_MARKER_TYPE

markerType: critical

CL_WD_GRAPHICAL_VALUE_CMP=>E_MARKER_TYPE-CRITICAL

markerType: neutral

CL_WD_GRAPHICAL_VALUE_CMP=>E_MARKER_TYPE-NEUTRAL

markerValue

MARKER_VALUE

F

maxValue

MAX_VALUE

F

styleClassName STYLE_CLASS_NAME STRING

text

TEXT

WDY_MD_TRANSLATABLE_TEXT

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

upperThresholdValue

UPPER_THRESHOLD_VALUE

F

visible

VISIBLE

WDUI_VISIBILITY

visible: none

CL_WD_GRAPHICAL_VALUE_CMP=>E_VISIBLE-NONE

visible: visible

CL_WD_GRAPHICAL_VALUE_CMP=>E_VISIBLE-VISIBLE

width

WIDTH

I

Beispiel

Beispiele für dieses Oberflächenelement finden Sie im System in der Web-Dynpro-Applikation WDR_TEST_UI_ELEMENTS.