edu.stanford.smi.protege.util
Enum ProjectViewEvent.Type
java.lang.Object
java.lang.Enum<ProjectViewEvent.Type>
edu.stanford.smi.protege.util.ProjectViewEvent.Type
- All Implemented Interfaces:
- Serializable, Comparable<ProjectViewEvent.Type>
- Enclosing class:
- ProjectViewEvent
public static enum ProjectViewEvent.Type
- extends Enum<ProjectViewEvent.Type>
addTab
public static final ProjectViewEvent.Type addTab
removeTab
public static final ProjectViewEvent.Type removeTab
save
public static final ProjectViewEvent.Type save
close
public static final ProjectViewEvent.Type close
values
public static final ProjectViewEvent.Type[] 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(ProjectViewEvent.Type c : ProjectViewEvent.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static ProjectViewEvent.Type 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
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2010 Stanford University.