setFontStyle (GUIUtils)
Versionshinweise | 12.2 |
---|
Code
GUIUtils.setFontStyle(int fontStyle, String... componentNames)
Beschreibung
Ändert den Schriftstil von GUI Komponenten, wie z.B. Beschriftungen, Schalter oder TaskPanes.
Parameter
- fontStyle - Der neue Schriftstil, z.B. GUIConstants.FONTSTYLE_PLAIN.
- componentNames - Eine kommaseparierte Liste von internen Komponentnamen, z.B. "MatchCode.Customer" or "Button123".
Beispiele
GUIUtils.setFontStyle(GUIConstants.FONTSTYLE_BOLD, "MatchCode.Customer", "Button123");