|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DashboardLayout> org.sonar.api.web.DashboardLayout
public enum DashboardLayout
Possible layouts for a dashboard.
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String getCode()
public int getColumns()
public String toString()
toString
in class Enum<DashboardLayout>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |