public enum DefaultBootstrapHeading extends java.lang.Enum<DefaultBootstrapHeading> implements BootstrapHeading
KEY
Modifier and Type | Method and Description |
---|---|
static DefaultBootstrapHeading |
fromAttributeValue(int attrValue) |
float |
getTextSize(Context context)
Retrieves the text size for the current BootstrapHeading.
|
float |
horizontalPadding(Context context)
Retrieves the horizontal padding for the current BootstrapHeading
|
static DefaultBootstrapHeading |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultBootstrapHeading[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
float |
verticalPadding(Context context)
Retrieves the vertical padding for the current BootstrapHeading
|
public static final DefaultBootstrapHeading H1
public static final DefaultBootstrapHeading H2
public static final DefaultBootstrapHeading H3
public static final DefaultBootstrapHeading H4
public static final DefaultBootstrapHeading H5
public static final DefaultBootstrapHeading H6
public static DefaultBootstrapHeading[] values()
for (DefaultBootstrapHeading c : DefaultBootstrapHeading.values()) System.out.println(c);
public static DefaultBootstrapHeading valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static DefaultBootstrapHeading fromAttributeValue(int attrValue)
public float getTextSize(Context context)
BootstrapHeading
getTextSize
in interface BootstrapHeading
context
- the current contextpublic float verticalPadding(Context context)
BootstrapHeading
verticalPadding
in interface BootstrapHeading
context
- the current contextpublic float horizontalPadding(Context context)
BootstrapHeading
horizontalPadding
in interface BootstrapHeading
context
- the current context