Enum Class GeneralWindowType

java.lang.Object
java.lang.Enum<GeneralWindowType>
de.seggebaeing.sqlanalyzer.presentation.util.GeneralWindowType
All Implemented Interfaces:
WindowType, Serializable, Comparable<GeneralWindowType>, Constable

public enum GeneralWindowType extends Enum<GeneralWindowType> implements WindowType
Enumerates non-BDO (“general”) window types and their associated FXML base names. Covers generation/evaluation workflows and their settings dialogs. Implements WindowType to expose getFxmlName().
Since:
1.0
Author:
Felix Seggebäing
  • Enum Constant Details

  • Method Details

    • values

      public static GeneralWindowType[] 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 GeneralWindowType 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
    • getFxmlName

      public String getFxmlName()
      Returns the base FXML resource name associated with this general window type, without path or extension handling.
      Specified by:
      getFxmlName in interface WindowType
      Returns:
      the FXML file name