- java.lang.Object
-
- java.lang.Enum<DirectoryModel.UpdateType>
-
- eu.ess.xaos.ui.control.tree.DirectoryModel.UpdateType
-
- All Implemented Interfaces:
Serializable
,Comparable<DirectoryModel.UpdateType>
- Enclosing interface:
- DirectoryModel<I,T>
public static enum DirectoryModel.UpdateType extends Enum<DirectoryModel.UpdateType>
Types of updates to the director model.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATION
Indicates a new file/directory entry.DELETION
Indicates removal of a file/directory entry.MODIFICATION
Indicates file modification.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DirectoryModel.UpdateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DirectoryModel.UpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATION
public static final DirectoryModel.UpdateType CREATION
Indicates a new file/directory entry.
-
DELETION
public static final DirectoryModel.UpdateType DELETION
Indicates removal of a file/directory entry.
-
MODIFICATION
public static final DirectoryModel.UpdateType MODIFICATION
Indicates file modification.
-
-
Method Detail
-
values
public static DirectoryModel.UpdateType[] 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 (DirectoryModel.UpdateType c : DirectoryModel.UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectoryModel.UpdateType 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
-
-