java.lang.Object
de.julianweinelt.datacat.dbx.api.ui.theme.Theme

public class Theme extends Object
  • Constructor Details

    • Theme

      @Deprecated(since="1.0.1-beta.1") public Theme(DbxPlugin definingPlugin, String unlocalizedName, String themeData) throws IllegalArgumentException
      Deprecated.
      In favor of the new yarn system (since version 1.0.1-beta.1)
      Define a new theme
      Parameters:
      definingPlugin - An instance of a DbxPlugin which registers this theme
      unlocalizedName - an internal name, cannot contain spaces
      themeData - The JSON theme data as a String
      Throws:
      IllegalArgumentException - if the entered JSON theme data is not valid JSON
    • Theme

      @Deprecated(since="1.0.1-beta.1") public Theme(DbxPlugin definingPlugin, String unlocalizedName, BasicLookAndFeel lafClass)
      Deprecated.
      In favor of the new yarn system (since version 1.0.1-beta.1)
      Define a new theme using a Java LAF class
      Parameters:
      definingPlugin - The DbxPlugin defining this theme
      unlocalizedName - an internal name, cannot contain spaces
      lafClass - A BasicLookAndFeel instance containing all theme data