Enum Class MainLauncherLAF

java.lang.Object
java.lang.Enum<MainLauncherLAF>
be.gaudry.swing.laf.MainLauncherLAF
All Implemented Interfaces:
ILaf, Serializable, Comparable<MainLauncherLAF>, Constable

public enum MainLauncherLAF extends Enum<MainLauncherLAF> implements ILaf
Since:
1.0 28 sept. 2008
Author:
Steph GAUDRY
  • Enum Constant Details

  • Method Details

    • values

      public static MainLauncherLAF[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MainLauncherLAF valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLafName

      public String getLafName()
      Specified by:
      getLafName in interface ILaf
      Returns:
      the laf name
    • getLafClassName

      public String getLafClassName()
      Specified by:
      getLafClassName in interface ILaf
      Returns:
      the laf className
    • getFromClassName

      public static MainLauncherLAF getFromClassName(String lafClassName)
      Parameters:
      lafClassName - the className of the LAF to return
      Returns:
      the LAF constant of the specified className or system LAF if an error occurs
    • isDarkTheme

      public boolean isDarkTheme()
      Specified by:
      isDarkTheme in interface ILaf
      Returns:
      true if the theme is a dark theme