|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<View>
com.guiseframework.model.View
public enum View
Represents a view or aspect of data.
| Enum Constant Summary | |
|---|---|
LIST
The view in which a list of items is shown. |
|
SEQUENCE
The view in which a sequence of items is shown, perhaps as a card deck. |
|
THUMBNAILS
The view in which the data is shown as a series of small images. |
|
TREE
The view in which the data is shown in a tree structure. |
|
WYSIWYG
The view in which the data is shown as it would be in its final form. |
|
| Method Summary | |
|---|---|
java.net.URI |
getGlyph()
|
java.lang.String |
getLabel()
|
static java.net.URI |
getNoGlyph()
|
static java.lang.String |
getNoLabel()
|
java.lang.String |
toString()
Returns a string representation of the view. |
static View |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static View[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final View LIST
public static final View SEQUENCE
public static final View THUMBNAILS
public static final View TREE
public static final View WYSIWYG
| Method Detail |
|---|
public static View[] values()
for (View c : View.values()) System.out.println(c);
public static View valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static java.lang.String getNoLabel()
public java.lang.String getLabel()
public static java.net.URI getNoGlyph()
public java.net.URI getGlyph()
public java.lang.String toString()
getLabel().
toString in class java.lang.Enum<View>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||