Enum BackgroundRepeat

java.lang.Object
java.lang.Enum<BackgroundRepeat>
com.smartgwt.client.types.BackgroundRepeat
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<BackgroundRepeat>, Constable

public enum BackgroundRepeat extends Enum<BackgroundRepeat> implements ValueEnum
  • Enum Constant Details

    • REPEAT

      public static final BackgroundRepeat REPEAT
      Tile the background image horizontally and vertically.
    • NO_REPEAT

      public static final BackgroundRepeat NO_REPEAT
      Don't tile the background image at all.
    • REPEAT_X

      public static final BackgroundRepeat REPEAT_X
      Repeat the background image horizontally but not vertically.
    • REPEAT_Y

      public static final BackgroundRepeat REPEAT_Y
      Repeat the background image vertically but not horizontally.
  • Method Details

    • values

      public static BackgroundRepeat[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BackgroundRepeat valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ValueEnum