Enum LocalFileBrowseType
- java.lang.Object
-
- java.lang.Enum<LocalFileBrowseType>
-
- ro.sync.exml.workspace.api.standalone.ui.urlpanel.LocalFileBrowseType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LocalFileBrowseType>
@API(type=EXTENDABLE, src=PUBLIC) public enum LocalFileBrowseType extends java.lang.Enum<LocalFileBrowseType>
Allowed browse types forInputUrlComponentProvider
choosers.- Since:
- 23.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPEN_DIRECTORY
Open folderOPEN_FILE
Open fileSAVE_FILE
Save file type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInternalIdMapping()
static LocalFileBrowseType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LocalFileBrowseType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAVE_FILE
public static final LocalFileBrowseType SAVE_FILE
Save file type
-
OPEN_FILE
public static final LocalFileBrowseType OPEN_FILE
Open file
-
OPEN_DIRECTORY
public static final LocalFileBrowseType OPEN_DIRECTORY
Open folder
-
-
Method Detail
-
values
public static LocalFileBrowseType[] 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 (LocalFileBrowseType c : LocalFileBrowseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocalFileBrowseType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getInternalIdMapping
public int getInternalIdMapping()
- Returns:
- Returns the internalIdMapping.
-
-