public enum DashboardLayout extends Enum<DashboardLayout>
Enum Constant and Description |
---|
ONE_COLUMN
Only 1 column that take all the page
|
TREE_COLUMNS
3 columns of the same width
|
TWO_COLUMNS
2 columns of the same width
|
TWO_COLUMNS_30_70
2 columns with the first one smaller than the second
|
TWO_COLUMNS_70_30
2 columns with the first one bigger than the second
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
int |
getColumns() |
String |
toString() |
static DashboardLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DashboardLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DashboardLayout ONE_COLUMN
public static final DashboardLayout TWO_COLUMNS
public static final DashboardLayout TWO_COLUMNS_30_70
public static final DashboardLayout TWO_COLUMNS_70_30
public static final DashboardLayout TREE_COLUMNS
public static DashboardLayout[] values()
for (DashboardLayout c : DashboardLayout.values()) System.out.println(c);
public static DashboardLayout 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 int getColumns()
public String toString()
toString
in class Enum<DashboardLayout>
Copyright © 2009–2016 SonarSource. All rights reserved.