Package org.sonar.api.web
Enum DashboardLayout
- java.lang.Object
-
- java.lang.Enum<DashboardLayout>
-
- org.sonar.api.web.DashboardLayout
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DashboardLayout>
@Deprecated public enum DashboardLayout extends java.lang.Enum<DashboardLayout>
Deprecated.since 6.2, this extension is ignored as dashboards have been removedPossible layouts for a dashboard.- Since:
- 2.13
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ONE_COLUMN
Deprecated.Only 1 column that take all the pageTREE_COLUMNS
Deprecated.3 columns of the same widthTWO_COLUMNS
Deprecated.2 columns of the same widthTWO_COLUMNS_30_70
Deprecated.2 columns with the first one smaller than the secondTWO_COLUMNS_70_30
Deprecated.2 columns with the first one bigger than the second
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getCode()
Deprecated.int
getColumns()
Deprecated.java.lang.String
toString()
Deprecated.static DashboardLayout
valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name.static DashboardLayout[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONE_COLUMN
public static final DashboardLayout ONE_COLUMN
Deprecated.Only 1 column that take all the page
-
TWO_COLUMNS
public static final DashboardLayout TWO_COLUMNS
Deprecated.2 columns of the same width
-
TWO_COLUMNS_30_70
public static final DashboardLayout TWO_COLUMNS_30_70
Deprecated.2 columns with the first one smaller than the second
-
TWO_COLUMNS_70_30
public static final DashboardLayout TWO_COLUMNS_70_30
Deprecated.2 columns with the first one bigger than the second
-
TREE_COLUMNS
public static final DashboardLayout TREE_COLUMNS
Deprecated.3 columns of the same width
-
-
Method Detail
-
values
public static DashboardLayout[] values()
Deprecated.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 (DashboardLayout c : DashboardLayout.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DashboardLayout valueOf(java.lang.String name)
Deprecated.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
-
getCode
public java.lang.String getCode()
Deprecated.
-
getColumns
public int getColumns()
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Enum<DashboardLayout>
-
-