Package com.atlassian.adf.model.node
Enum Panel.PanelType
- java.lang.Object
-
- java.lang.Enum<Panel.PanelType>
-
- com.atlassian.adf.model.node.Panel.PanelType
-
- All Implemented Interfaces:
Serializable,Comparable<Panel.PanelType>
- Enclosing class:
- Panel
public static enum Panel.PanelType extends Enum<Panel.PanelType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringpanelType()static Panel.PanelTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Panel.PanelType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFO
public static final Panel.PanelType INFO
-
NOTE
public static final Panel.PanelType NOTE
-
TIP
public static final Panel.PanelType TIP
-
WARNING
public static final Panel.PanelType WARNING
-
ERROR
public static final Panel.PanelType ERROR
-
SUCCESS
public static final Panel.PanelType SUCCESS
-
CUSTOM
public static final Panel.PanelType CUSTOM
-
-
Method Detail
-
values
public static Panel.PanelType[] values()
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 (Panel.PanelType c : Panel.PanelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Panel.PanelType valueOf(String name)
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
panelType
public String panelType()
-
-