Package generic.theme

Class DiscoverableGTheme

All Implemented Interfaces:
ExtensionPoint
Direct Known Subclasses:
CDEMotifTheme, FlatDarkTheme, FlatLightTheme, GTKTheme, MacTheme, MetalTheme, NimbusTheme, WindowsClassicTheme, WindowsTheme

public abstract class DiscoverableGTheme extends GTheme implements ExtensionPoint
Abstract base class for built-in GThemes.
  • Constructor Details

    • DiscoverableGTheme

      protected DiscoverableGTheme(String name, LafType lookAndFeel)
  • Method Details

    • getThemeLocater

      public String getThemeLocater()
      Description copied from class: GTheme
      Returns a String that can be used to find and restore this theme.
      Overrides:
      getThemeLocater in class GTheme
      Returns:
      a String that can be used to find and restore this theme.
    • isReadOnly

      public boolean isReadOnly()
      Description copied from class: GTheme
      Returns true if this theme can not be changed
      Overrides:
      isReadOnly in class GTheme
      Returns:
      true if this theme can not be changed