Keine Cache-Version

Caching deaktiviert Standardeinstellung für diese Seite:aktiviert (code LNG204)
Wenn die Anzeige zu langsam ist, können Sie den Benutzermodus deaktivieren, um die zwischengespeicherte Version anzuzeigen.
java.awt

Class SystemColor

  • All Implemented Interfaces:
    Paint, Transparency, Serializable

    public final class SystemColor
    extends Color
    implements Serializable
    A class to encapsulate symbolic colors representing the color of native GUI objects on a system. For systems which support the dynamic update of the system colors (when the user changes the colors) the actual RGB values of these symbolic colors will also change dynamically. In order to compare the "current" RGB value of a SystemColor object with a non-symbolic Color object, getRGB should be used rather than equals.

    Note that the way in which these system colors are applied to GUI objects may vary slightly from platform to platform since GUI objects may be rendered differently on each platform.

    System color values may also be available through the getDesktopProperty method on java.awt.Toolkit.

    See Also:
    Toolkit.getDesktopProperty(java.lang.String), Serialized Form
    • Field Detail

      • NUM_COLORS

        public static final int NUM_COLORS
        The number of system colors in the array.
        See Also:
        Constant Field Values
      • desktop

        public static final SystemColor desktop
        The color rendered for the background of the desktop.
      • activeCaption

        public static final SystemColor activeCaption
        The color rendered for the window-title background of the currently active window.
      • activeCaptionText

        public static final SystemColor activeCaptionText
        The color rendered for the window-title text of the currently active window.
      • activeCaptionBorder

        public static final SystemColor activeCaptionBorder
        The color rendered for the border around the currently active window.
      • inactiveCaption

        public static final SystemColor inactiveCaption
        The color rendered for the window-title background of inactive windows.
      • inactiveCaptionText

        public static final SystemColor inactiveCaptionText
        The color rendered for the window-title text of inactive windows.
      • inactiveCaptionBorder

        public static final SystemColor inactiveCaptionBorder
        The color rendered for the border around inactive windows.
      • window

        public static final SystemColor window
        The color rendered for the background of interior regions inside windows.
      • windowBorder

        public static final SystemColor windowBorder
        The color rendered for the border around interior regions inside windows.
      • windowText

        public static final SystemColor windowText
        The color rendered for text of interior regions inside windows.
      • public static final SystemColor menu
        The color rendered for the background of menus.
      • public static final SystemColor menuText
        The color rendered for the text of menus.
      • text

        public static final SystemColor text
        The color rendered for the background of text control objects, such as textfields and comboboxes.
      • textText

        public static final SystemColor textText
        The color rendered for the text of text control objects, such as textfields and comboboxes.
      • textHighlight

        public static final SystemColor textHighlight
        The color rendered for the background of selected items, such as in menus, comboboxes, and text.
      • textHighlightText

        public static final SystemColor textHighlightText
        The color rendered for the text of selected items, such as in menus, comboboxes, and text.
      • textInactiveText

        public static final SystemColor textInactiveText
        The color rendered for the text of inactive items, such as in menus.
      • control

        public static final SystemColor control
        The color rendered for the background of control panels and control objects, such as pushbuttons.
      • controlText

        public static final SystemColor controlText
        The color rendered for the text of control panels and control objects, such as pushbuttons.
      • controlHighlight

        public static final SystemColor controlHighlight
        The color rendered for light areas of 3D control objects, such as pushbuttons. This color is typically derived from the control background color to provide a 3D effect.
      • controlLtHighlight

        public static final SystemColor controlLtHighlight
        The color rendered for highlight areas of 3D control objects, such as pushbuttons. This color is typically derived from the control background color to provide a 3D effect.
      • controlShadow

        public static final SystemColor controlShadow
        The color rendered for shadow areas of 3D control objects, such as pushbuttons. This color is typically derived from the control background color to provide a 3D effect.
      • controlDkShadow

        public static final SystemColor controlDkShadow
        The color rendered for dark shadow areas on 3D control objects, such as pushbuttons. This color is typically derived from the control background color to provide a 3D effect.
      • scrollbar

        public static final SystemColor scrollbar
        The color rendered for the background of scrollbars.
      • info

        public static final SystemColor info
        The color rendered for the background of tooltips or spot help.
      • infoText

        public static final SystemColor infoText
        The color rendered for the text of tooltips or spot help.
    • Method Detail

      • toString

        public String toString()
        Returns a string representation of this Color's values. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.
        Overrides:
        toString in class Color
        Returns:
        a string representation of this Color

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 11/06/2005, zuletzt geändert 04/03/2020
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-rf-java/awt/systemcolor.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:fr Manuel PHP : https://docs.oracle.com

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor Diese Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.

Inhaltsverzeichnis Haut