Enum Class IconSize

java.lang.Object
java.lang.Enum<IconSize>
org.praxisplatform.uischema.IconSize
All Implemented Interfaces:
Serializable, Comparable<IconSize>, Constable

public enum IconSize extends Enum<IconSize>
Tamanhos e estratégias de ajuste para ícones/imagens em componentes de UI.

Permite desde tamanhos semânticos (sm, md, lg) até modos de ajuste como cover, contain e fit-content.

Since:
1.0.0
  • Enum Constant Details

    • 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
    • XXXLARGE

      public static final IconSize XXXLARGE
    • DEFAULT

      public static final IconSize DEFAULT
    • AUTO

      public static final IconSize AUTO
    • NONE

      public static final IconSize NONE
    • FULL

      public static final IconSize FULL
    • FIT

      public static final IconSize FIT
    • FILL

      public static final IconSize FILL
    • COVER

      public static final IconSize COVER
    • CONTAIN

      public static final IconSize CONTAIN
    • STRETCH

      public static final IconSize STRETCH
    • FIT_CONTENT

      public static final IconSize FIT_CONTENT
    • FIT_VIEWPORT

      public static final IconSize FIT_VIEWPORT
    • FIT_SCREEN

      public static final IconSize FIT_SCREEN
    • FIT_WINDOW

      public static final IconSize FIT_WINDOW
    • FIT_PARENT

      public static final IconSize FIT_PARENT
    • INHERIT

      public static final IconSize INHERIT
  • 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
    • getValue

      public String getValue()
      Valor textual para consumo pelo frontend.
      Returns:
      tamanho/estratégia de ajuste (ex.: lg, cover)