public enum FileBrowserView extends Enum<FileBrowserView>
| Enum Constant and Description |
|---|
LINES
Lines view.
|
THUMBNAILS
Thumbnails view.
|
| Modifier and Type | Field and Description |
|---|---|
static FileBrowserView |
DEFAULT
Default view.
|
| Modifier and Type | Method and Description |
|---|---|
static FileBrowserView |
fromId(String id)
Get view from identifier.
|
String |
getIcon()
Getter for icon.
|
String |
getId()
Getter for id.
|
String |
getKey()
Getter for key.
|
static FileBrowserView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileBrowserView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileBrowserView LINES
public static final FileBrowserView THUMBNAILS
public static final FileBrowserView DEFAULT
public static FileBrowserView[] values()
for (FileBrowserView c : FileBrowserView.values()) System.out.println(c);
public static FileBrowserView valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static FileBrowserView fromId(String id)
id - identifierpublic String getId()
public String getKey()
public String getIcon()
Copyright © 2019. All rights reserved.