Enum SelectionOperation
- java.lang.Object
-
- java.lang.Enum<SelectionOperation>
-
- org.pentaho.di.ui.core.events.dialog.SelectionOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<SelectionOperation>
public enum SelectionOperation extends Enum<SelectionOperation>
enum for dialog selection operations. Meant to be an abstraction layer between the select values of @see org.pentaho.di.ui.core.FileDialogOperation
For example: @link org.pentaho.di.ui.core.FileDialogOperation#SELECT_FILE
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE
FILE_OR_FOLDER
FOLDER
OPEN
SAVE
SAVE_TO
SAVE_TO_FILE_FOLDER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SelectionOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static SelectionOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE
public static final SelectionOperation FILE
-
FOLDER
public static final SelectionOperation FOLDER
-
FILE_OR_FOLDER
public static final SelectionOperation FILE_OR_FOLDER
-
SAVE
public static final SelectionOperation SAVE
-
SAVE_TO
public static final SelectionOperation SAVE_TO
-
SAVE_TO_FILE_FOLDER
public static final SelectionOperation SAVE_TO_FILE_FOLDER
-
OPEN
public static final SelectionOperation OPEN
-
-
Method Detail
-
values
public static SelectionOperation[] 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 (SelectionOperation c : SelectionOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelectionOperation 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
-
-