Class DelegatingLookAndFeel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DefaultClassicTheme, DefaultFlatTheme

    public abstract class DelegatingLookAndFeel
    extends javax.swing.plaf.basic.BasicLookAndFeel
    A LAF class that delegates almost everything to the system LAF. Implementers must provide a distinct identity (LookAndFeel.getName(), LookAndFeel.getID(), LookAndFeel.getDescription()). They should also probably supply novel defaults (initialize(), getDefaults()).
    See Also:
    Serialized Form
    • Constructor Detail

      • DelegatingLookAndFeel

        public DelegatingLookAndFeel()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • isNativeLookAndFeel

        public boolean isNativeLookAndFeel()
        Specified by:
        isNativeLookAndFeel in class javax.swing.LookAndFeel
      • isSupportedLookAndFeel

        public boolean isSupportedLookAndFeel()
        Specified by:
        isSupportedLookAndFeel in class javax.swing.LookAndFeel
      • getLayoutStyle

        public javax.swing.LayoutStyle getLayoutStyle()
        Overrides:
        getLayoutStyle in class javax.swing.LookAndFeel
      • getDisabledIcon

        public javax.swing.Icon getDisabledIcon​(javax.swing.JComponent component,
                                                javax.swing.Icon icon)
        Overrides:
        getDisabledIcon in class javax.swing.LookAndFeel
      • getDisabledSelectedIcon

        public javax.swing.Icon getDisabledSelectedIcon​(javax.swing.JComponent component,
                                                        javax.swing.Icon icon)
        Overrides:
        getDisabledSelectedIcon in class javax.swing.LookAndFeel
      • getSupportsWindowDecorations

        public boolean getSupportsWindowDecorations()
        Overrides:
        getSupportsWindowDecorations in class javax.swing.LookAndFeel
      • provideErrorFeedback

        public void provideErrorFeedback​(java.awt.Component component)
        Overrides:
        provideErrorFeedback in class javax.swing.LookAndFeel
      • initialize

        public void initialize()
        Overrides:
        initialize in class javax.swing.plaf.basic.BasicLookAndFeel
      • uninitialize

        public void uninitialize()
        Overrides:
        uninitialize in class javax.swing.plaf.basic.BasicLookAndFeel
      • getDefaults

        public javax.swing.UIDefaults getDefaults()
        Overrides:
        getDefaults in class javax.swing.plaf.basic.BasicLookAndFeel