Enum LDAPEntryPanel.View
- java.lang.Object
-
- java.lang.Enum<LDAPEntryPanel.View>
-
- org.opends.guitools.controlpanel.ui.LDAPEntryPanel.View
-
- All Implemented Interfaces:
Serializable,Comparable<LDAPEntryPanel.View>
- Enclosing class:
- LDAPEntryPanel
public static enum LDAPEntryPanel.View extends Enum<LDAPEntryPanel.View>
The different views that we have to display an LDAP entry.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_VIEWAttribute view (contained in a table).LDIF_VIEWLDIF view (text based).SIMPLIFIED_VIEWSimplified view.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LDAPEntryPanel.ViewvalueOf(String name)Returns the enum constant of this type with the specified name.static LDAPEntryPanel.View[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLIFIED_VIEW
public static final LDAPEntryPanel.View SIMPLIFIED_VIEW
Simplified view.
-
ATTRIBUTE_VIEW
public static final LDAPEntryPanel.View ATTRIBUTE_VIEW
Attribute view (contained in a table).
-
LDIF_VIEW
public static final LDAPEntryPanel.View LDIF_VIEW
LDIF view (text based).
-
-
Method Detail
-
values
public static LDAPEntryPanel.View[] 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 (LDAPEntryPanel.View c : LDAPEntryPanel.View.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LDAPEntryPanel.View 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
-
-