public enum ViewType extends Enum<ViewType> implements MpxjEnum
Enum Constant and Description |
---|
CALENDAR |
GANTT_CHART |
NETWORK_DIAGRAM |
RELATIONSHIP_DIAGRAM |
RESOURCE_FORM |
RESOURCE_GRAPH |
RESOURCE_NAME_FORM |
RESOURCE_SHEET |
RESOURCE_USAGE |
TASK_DETAILS_FORM |
TASK_FORM |
TASK_NAME_FORM |
TASK_SHEET |
TASK_USAGE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ViewType |
getInstance(int type)
Retrieve an instance of the enum based on its int value.
|
static ViewType |
getInstance(Number type)
Retrieve an instance of the enum based on its int value.
|
String |
getName()
Retrieve the name of this enum.
|
int |
getValue()
Accessor method used to retrieve the numeric representation of the enum.
|
String |
toString() |
static ViewType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewType UNKNOWN
public static final ViewType GANTT_CHART
public static final ViewType NETWORK_DIAGRAM
public static final ViewType RELATIONSHIP_DIAGRAM
public static final ViewType TASK_FORM
public static final ViewType TASK_SHEET
public static final ViewType RESOURCE_FORM
public static final ViewType RESOURCE_SHEET
public static final ViewType RESOURCE_GRAPH
public static final ViewType TASK_DETAILS_FORM
public static final ViewType TASK_NAME_FORM
public static final ViewType RESOURCE_NAME_FORM
public static final ViewType CALENDAR
public static final ViewType TASK_USAGE
public static final ViewType RESOURCE_USAGE
public static ViewType[] values()
for (ViewType c : ViewType.values()) System.out.println(c);
public static ViewType 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 ViewType getInstance(int type)
type
- int typepublic static ViewType getInstance(Number type)
type
- int typepublic int getValue()
public String getName()
Copyright © 2000–2024 Packwood Software. All rights reserved.