fuego.papi
Enum ViewType
java.lang.Object
java.lang.Enum<ViewType>
fuego.papi.ViewType
- All Implemented Interfaces:
- fuego.resources.Internationalizable, Serializable, Comparable<ViewType>
public enum ViewType
- extends Enum<ViewType>
- implements fuego.resources.Internationalizable
APPLICATIONS
public static final ViewType APPLICATIONS
ATTACHMENTS
public static final ViewType ATTACHMENTS
INSTANCES
public static final ViewType INSTANCES
ACTIVITY_INSTANCES
public static final ViewType ACTIVITY_INSTANCES
FOLDER
public static final ViewType FOLDER
HISTORY
public static final ViewType HISTORY
BOOKMARKS
public static final ViewType BOOKMARKS
CONSULTATIONS
public static final ViewType CONSULTATIONS
values
public static final ViewType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(ViewType c : ViewType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ViewType 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 name
getString
public String getString()
- Specified by:
getString
in interface fuego.resources.Internationalizable
getString
public String getString(Locale locale)
isSubtype
public static final boolean isSubtype(ViewType son,
ViewType parent)
isType
public boolean isType(ViewType viewType)
getIn
public int getIn()
getMsg
public fuego.resources.Msg getMsg()
isBookmark
public boolean isBookmark()
isConsultation
public boolean isConsultation()
isHistory
public boolean isHistory()
fixOldViewType
public static ViewType fixOldViewType(@NonNls
String viewTypeStr)
© Copyright 1996/2005 Fuego Inc. All Rights Reserved