com.smartgwt.client.types
Enum BkgndRepeat

java.lang.Object
  extended by java.lang.Enum<BkgndRepeat>
      extended by com.smartgwt.client.types.BkgndRepeat
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<BkgndRepeat>

public enum BkgndRepeat
extends Enum<BkgndRepeat>
implements ValueEnum


Enum Constant Summary
NO_REPEAT
          Don't tile the background image at all.
REPEAT
          Tile the background image horizontally and vertically.
REPEAT_X
          Repeat the background image horizontally but not vertically.
REPEAT_Y
          Repeat the background image vertically but not horizontally.
 
Method Summary
 String getValue()
           
static BkgndRepeat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BkgndRepeat[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REPEAT

public static final BkgndRepeat REPEAT
Tile the background image horizontally and vertically.


NO_REPEAT

public static final BkgndRepeat NO_REPEAT
Don't tile the background image at all.


REPEAT_X

public static final BkgndRepeat REPEAT_X
Repeat the background image horizontally but not vertically.


REPEAT_Y

public static final BkgndRepeat REPEAT_Y
Repeat the background image vertically but not horizontally.

Method Detail

values

public static BkgndRepeat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BkgndRepeat c : BkgndRepeat.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BkgndRepeat 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