com.viewpagerindicator
Enum TitlePageIndicator.IndicatorStyle
java.lang.Object
java.lang.Enum<TitlePageIndicator.IndicatorStyle>
com.viewpagerindicator.TitlePageIndicator.IndicatorStyle
- All Implemented Interfaces:
- Serializable, Comparable<TitlePageIndicator.IndicatorStyle>
- Enclosing class:
- TitlePageIndicator
public static enum TitlePageIndicator.IndicatorStyle
- extends Enum<TitlePageIndicator.IndicatorStyle>
None
public static final TitlePageIndicator.IndicatorStyle None
Triangle
public static final TitlePageIndicator.IndicatorStyle Triangle
Underline
public static final TitlePageIndicator.IndicatorStyle Underline
value
public final int value
values
public static TitlePageIndicator.IndicatorStyle[] 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 (TitlePageIndicator.IndicatorStyle c : TitlePageIndicator.IndicatorStyle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TitlePageIndicator.IndicatorStyle 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
fromValue
public static TitlePageIndicator.IndicatorStyle fromValue(int value)
Copyright © 2011-2012 Jake Wharton. All Rights Reserved.