Module MaterialFX

Enum Class ScaleBehavior

java.lang.Object
java.lang.Enum<ScaleBehavior>
io.github.palexdev.materialfx.enums.ScaleBehavior
All Implemented Interfaces:
Serializable, Comparable<ScaleBehavior>, java.lang.constant.Constable

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

    • ALWAYS

      public static final ScaleBehavior ALWAYS
      Always scale the content.
    • IF_NECESSARY

      public static final ScaleBehavior IF_NECESSARY
      Rescale content only if requested by the layout properties of the content node.
  • Method Details

    • values

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