Enum Class IMAGEUNIT

java.lang.Object
java.lang.Enum<IMAGEUNIT>
at.letto.tools.dto.IMAGEUNIT
All Implemented Interfaces:
Serializable, Comparable<IMAGEUNIT>, Constable

public enum IMAGEUNIT extends Enum<IMAGEUNIT>
Einheiten welche für die Größenangaben von Bildern verwendet werden können
none : keine Angabe der Dateigröße
px : Pixel
pt : Punkte
cm : Zentimeter
percent : Prozent der Bildschirmbreite
em : Vielfache der Standardschriftgröße
  • Enum Constant Details

    • none

      public static final IMAGEUNIT none
      Keine Angabe der Dateigröße
    • px

      public static final IMAGEUNIT px
      Angabe in Bildschirmpixel
    • pt

      public static final IMAGEUNIT pt
      Angabe in Punkten
    • cm

      public static final IMAGEUNIT cm
      Angabe in cm
    • percent

      public static final IMAGEUNIT percent
      Angabe in Prozent
    • em

      public static final IMAGEUNIT em
      Angabe in Vielfachen der Standardschriftgröße
  • Constructor Details

    • IMAGEUNIT

      private IMAGEUNIT()
  • Method Details

    • values

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