Package com.iizix.prop.ui
Enum MUITabBar.Type
- java.lang.Object
- java.lang.Enum<MUITabBar.Type>
- com.iizix.prop.ui.MUITabBar.Type
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MUITabBar.Type>
- Enclosing class:
- MUITabBar
public static enum MUITabBar.Type extends java.lang.Enum<MUITabBar.Type>
Enum Constant Summary
Enum Constants Enum Constant Description FlatTab
Flat Tab has no borders and no background color by default to be displayed through the application’s background color or background image.SegmentedControl
This type of bar is typically used at the top of the screen to control visibility of multiple views.SlimTab
Slim Tab is a space-saving type of tab bar.StandardType
Standard Tab can be used to create tabbed panes.TabBar
This type of bar typically appears at the bottom of the screen to control visibility of multiple views.TallTab
Tall tab is for bigger devices.
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MUITabBar.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MUITabBar.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
TabBar
public static final MUITabBar.Type TabBar
This type of bar typically appears at the bottom of the screen to control visibility of multiple views. Default type.
SegmentedControl
public static final MUITabBar.Type SegmentedControl
This type of bar is typically used at the top of the screen to control visibility of multiple views.
StandardType
public static final MUITabBar.Type StandardType
Standard Tab can be used to create tabbed panes.
SlimTab
public static final MUITabBar.Type SlimTab
Slim Tab is a space-saving type of tab bar. This may be useful especially for smaller screen devices.
FlatTab
public static final MUITabBar.Type FlatTab
Flat Tab has no borders and no background color by default to be displayed through the application’s background color or background image.
TallTab
public static final MUITabBar.Type TallTab
Tall tab is for bigger devices. The buttons fill the full tab height.
Method Detail
values
public static MUITabBar.Type[] 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 (MUITabBar.Type c : MUITabBar.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static MUITabBar.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null