Enum Class SyntaxHighlighter.ThemeSet

java.lang.Object
java.lang.Enum<SyntaxHighlighter.ThemeSet>
co.mindus.utils.SyntaxHighlighter.ThemeSet
All Implemented Interfaces:
Serializable, Comparable<SyntaxHighlighter.ThemeSet>, Constable
Enclosing class:
SyntaxHighlighter

public static enum SyntaxHighlighter.ThemeSet extends Enum<SyntaxHighlighter.ThemeSet>
Identifies which set a theme belongs to.

Curated themes are a hand-picked selection of the best themes for common use cases. Extended themes provide the full highlight.js theme catalog for users who want more variety.

Author:
Christopher Mindus
  • Enum Constant Details

  • Method Details

    • values

      public static SyntaxHighlighter.ThemeSet[] 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 SyntaxHighlighter.ThemeSet 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