Enum Class InputElement

java.lang.Object
java.lang.Enum<InputElement>
at.letto.plugins.enums.InputElement
All Implemented Interfaces:
Serializable, Comparable<InputElement>, Constable

public enum InputElement extends Enum<InputElement>
Definiert das Eingabeelement für die Subquestion, deren Typ auf Plugin gesetzt ist. Mögliche Eingabetypen:
Author:
Thomas Mayer
  • Enum Constant Details

    • TextField

      public static final InputElement TextField
      TextField für ein Textfeld
    • TextArea

      public static final InputElement TextArea
      TextArea für einen größeren Eingabebereich
    • Button

      public static final InputElement Button
    • MULTICHOICE

      public static final InputElement MULTICHOICE
    • XHTML

      public static final InputElement XHTML
    • SourceCode

      public static final InputElement SourceCode
      Javascript-Editor für Eingabe von Source-Code von Programmen
    • JAVASCRIPT

      public static final InputElement JAVASCRIPT
  • Constructor Details

    • InputElement

      private InputElement()
  • Method Details

    • values

      public static InputElement[] 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 InputElement 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