Enum Class EPartService.PartState
- All Implemented Interfaces:
Serializable
,Comparable<EPartService.PartState>
,Constable
- Enclosing interface:
- EPartService
Applicable states that a part can be in. This will be used in conjunction with
EPartService.showPart(String, PartState)
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPart state that indicates the part should be made visible and activated.Part state that indicates the part should be created but not necessarily made visible.Part state that indicates the part should be made visible though it may not necessarily be granted focus. -
Method Summary
Modifier and TypeMethodDescriptionstatic EPartService.PartState
Returns the enum constant of this class with the specified name.static EPartService.PartState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVATE
Part state that indicates the part should be made visible and activated. -
VISIBLE
Part state that indicates the part should be made visible though it may not necessarily be granted focus. If the part will be displayed in the same stack as the currently active part, then this has the same effect asACTIVATE
. -
CREATE
Part state that indicates the part should be created but not necessarily made visible.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-