public enum LayoutResponsiveSize extends Enum<LayoutResponsiveSize>
| Enum Constant and Description |
|---|
ExtraLarge
Extra large devices (large desktops, 1200px and up)
|
Large
Large devices (desktops, 992px and up)
|
Medium
Medium devices (tablets, 768px and up)
|
Small
Small devices (landscape phones, 544px and up)
|
XSmall
Starting at the bottom
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
Integer |
getSize()
The actual pixel size setting
|
void |
setName(String name) |
void |
setSize(Integer size)
The actual pixel size setting
|
String |
toString() |
static LayoutResponsiveSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutResponsiveSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LayoutResponsiveSize ExtraLarge
public static final LayoutResponsiveSize Large
public static final LayoutResponsiveSize Medium
public static final LayoutResponsiveSize Small
public static final LayoutResponsiveSize XSmall
public static LayoutResponsiveSize[] values()
for (LayoutResponsiveSize c : LayoutResponsiveSize.values()) System.out.println(c);
public static LayoutResponsiveSize 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 Integer getSize()
public void setSize(Integer size)
size - public String toString()
toString in class Enum<LayoutResponsiveSize>public String getName()
public void setName(String name)
Copyright © 2019 Marc Magon. All rights reserved.