com.github.gwtbootstrap.client.ui.constants
Enum AlternateSize

java.lang.Object
  extended by java.lang.Enum<AlternateSize>
      extended by com.github.gwtbootstrap.client.ui.constants.AlternateSize
All Implemented Interfaces:
Style, Serializable, Comparable<AlternateSize>

public enum AlternateSize
extends Enum<AlternateSize>
implements Style

Type of an input element's Alternate size

Since:
2.0.4.0
Author:
ohashi keisuke

Enum Constant Summary
LARGE
           
MEDIUM
           
MINI
           
SMALL
           
XLARGE
           
XXLARGE
           
 
Method Summary
 String get()
          Gets the CSS class name (or a part thereof) associated with this constant.
static AlternateSize valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AlternateSize[] 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

MINI

public static final AlternateSize MINI

SMALL

public static final AlternateSize SMALL

MEDIUM

public static final AlternateSize MEDIUM

LARGE

public static final AlternateSize LARGE

XLARGE

public static final AlternateSize XLARGE

XXLARGE

public static final AlternateSize XXLARGE
Method Detail

values

public static AlternateSize[] 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 (AlternateSize c : AlternateSize.values())
    System.out.println(c);

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

valueOf

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

get

public String get()
Gets the CSS class name (or a part thereof) associated with this constant.

Specified by:
get in interface Style
Returns:
the name of the class


Copyright © 2012 gwtbootstrap. All Rights Reserved.