public enum ButtonType extends Enum<ButtonType>
ButtonType controls the shape taken by a material button.| Enum Constant and Description |
|---|
FAB
Setup a big round elevated button that contains an icon.
|
FLAT
Setup a flat and rectangular buttont.
|
ICON
Setup a very small round and flat button that contains an icon.
|
MINIFAB
Setup a medium round elevated button that contains an icon.
|
RAISED
Setup a rectangular and button with an elevation effect.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns the css class name related to this option.
|
static ButtonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonType RAISED
public static final ButtonType FLAT
public static final ButtonType ICON
public static final ButtonType FAB
public static final ButtonType MINIFAB
public static ButtonType[] values()
for (ButtonType c : ButtonType.values()) System.out.println(c);
public static ButtonType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ButtonType>Copyright © 2016 com.github.ilyes4j. All rights reserved.