org.eclipse.rwt.lifecycle
Class PhaseId
java.lang.Object
org.eclipse.rwt.lifecycle.PhaseId
-
All Implemented Interfaces:
-
Comparable
- public class PhaseId
- extends
Object
- implements
Comparable
A type-safe enumeration that represents all standard life cycle phases. The
instances can be used to refer to a phase in implementations of
PhaseListener
.
-
Since:
- 1.0
ANY
public static final
PhaseId ANY
- The PhaseId
ANY
is used by the
PhaseListener
to
signal interest in all phases.
PREPARE_UI_ROOT
public static final
PhaseId PREPARE_UI_ROOT
- The PhaseId
PREPARE_UI_ROOT
is used by the
PhaseListener
to signal interest in the Prepare UI Root
phase.
READ_DATA
public static final
PhaseId READ_DATA
- The PhaseId
READ_DATA
is used by the
PhaseListener
to signal interest in the Read Data phase.
PROCESS_ACTION
public static final
PhaseId PROCESS_ACTION
- The PhaseId
PROCESS_ACTION
is used by the
PhaseListener
to signal interest in the Process Action
phase.
RENDER
public static final
PhaseId RENDER
- The PhaseId
RENDER
is used by the
PhaseListener
to
signal interest in the Render phase.
VALUES
public static final
List VALUES
- A list containing the instances of this enumeration.
toString
public
String toString()
-
-
compareTo
public int compareTo(
Object toCompare)
-
-
Specified by:
-
compareTo
in interface
Comparable
-
getOrdinal
public int getOrdinal()
- Returns the ordinal number that is used for comparison of PhaseIds.
-
-
-
Returns:
- the ordinal number
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.