|
Versionshinweise |
12.2 |
||
|---|---|---|---|
Code
Groovy
GUIUtils.setBackgroundColor(Color backgroundColor, String... componentNames)
Beschreibung
Ändert die Hintergrundfarbe von GUI Komponetnen.
Parameter
-
backgroundColor - Die neue Hintergrundfarbe, z.B. GUIConstants.COLOR_WHITE oder new Color(0-255 Rot, 0-255 Grün, 0-255 Blau).
-
componentNames - Eine kommaseparierte Liste von internen Komponentnamen, z.B. "MatchCode.Customer" or "Button123".
Beispiele
Groovy
GUIUtils.setBackgroundColor(GUIConstants.COLOR_WHITE, "MatchCode.Customer", "Button123");
GUIUtils.setBackgroundColor(new Color(0, 255, 0), "MatchCode.Customer", "Button123");