Enum Class Breite

java.lang.Object
java.lang.Enum<Breite>
at.letto.tools.enums.Breite
All Implemented Interfaces:
Selectable, Serializable, Comparable<Breite>, Constable

public enum Breite extends Enum<Breite> implements Selectable
  • Enum Constant Details

    • Prozent

      public static final Breite Prozent
    • Pixel

      public static final Breite Pixel
  • Constructor Details

    • Breite

      private Breite()
  • Method Details

    • values

      public static Breite[] 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 Breite 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
    • getText

      public String getText()
      Description copied from interface: Selectable
      Liefert den Inhalt für die Anzeige der Selectbox
      Specified by:
      getText in interface Selectable
      Returns:
      Liefert den Inhalt für die Anzeige der Selectbox
    • getId

      public int getId()
      Description copied from interface: Selectable
      Klassen, die Selectable implementieren, müssen eine getId-Methode haben wird für generellen Converter verwendet
      Specified by:
      getId in interface Selectable
      Returns:
      id des Objekts aus der Datenbank