org.gwtbootstrap3.client.ui.constants
Enum HeadingSize
java.lang.Object
java.lang.Enum<HeadingSize>
org.gwtbootstrap3.client.ui.constants.HeadingSize
- All Implemented Interfaces:
- Serializable, Comparable<HeadingSize>, Size
public enum HeadingSize
- extends Enum<HeadingSize>
- implements Size
- Author:
- Joshua Godi
H1
public static final HeadingSize H1
H2
public static final HeadingSize H2
H3
public static final HeadingSize H3
H4
public static final HeadingSize H4
H5
public static final HeadingSize H5
H6
public static final HeadingSize H6
values
public static HeadingSize[] 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 (HeadingSize c : HeadingSize.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HeadingSize 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
getHeadingSize
public int getHeadingSize()
Copyright © 2015. All rights reserved.