Enum Class IconSize

java.lang.Object
java.lang.Enum<IconSize>
ca.phon.util.icons.IconSize
All Implemented Interfaces:
Serializable, Comparable<IconSize>, Constable

public enum IconSize extends Enum<IconSize>
  • Enum Constant Details

    • XXSMALL

      public static final IconSize XXSMALL
    • XSMALL

      public static final IconSize XSMALL
    • SMALL

      public static final IconSize SMALL
    • MEDIUM

      public static final IconSize MEDIUM
    • LARGE

      public static final IconSize LARGE
    • XLARGE

      public static final IconSize XLARGE
    • XXLARGE

      public static final IconSize XXLARGE
  • Method Details

    • values

      public static IconSize[] 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 IconSize 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
    • getHeightForSize

      public static int getHeightForSize(IconSize size)
    • getHeight

      public int getHeight()
    • getHiDPISize

      public static IconSize getHiDPISize(IconSize size)
    • getHiDPISize

      public IconSize getHiDPISize()
    • getWidthForSize

      public static int getWidthForSize(IconSize size)
    • getWidth

      public int getWidth()