Enum ExtendedModeEnablement.Hidden
java.lang.Object
java.lang.Enum<ExtendedModeEnablement.Hidden>
bibliothek.gui.dock.facile.mode.status.ExtendedModeEnablement.Hidden
- All Implemented Interfaces:
Serializable,Comparable<ExtendedModeEnablement.Hidden>,java.lang.constant.Constable
- Enclosing interface:
ExtendedModeEnablement
A measurement of how hidden a certain mode is. Is several
ExtendedModeEnablement.Hiddens are present,
the first one of this list wins:
- Author:
- Benjamin Sigg
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe mode is most certainly hiddenthe mode is visiblethe strategy cannot decide, some other code will make the decisionthe mode is probably hiddenthe mode is probably visible -
Method Summary
Modifier and TypeMethodDescriptionbooleanisHidden()Tells whether thisExtendedModeEnablement.Hiddenmeans "hidden" or "visible".Returns the enum constant of this type with the specified name.static ExtendedModeEnablement.Hidden[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STRONG_HIDDEN
the mode is most certainly hidden -
WEAK_HIDDEN
the mode is probably hidden -
UNCERTAIN
the strategy cannot decide, some other code will make the decision -
WEAK_VISIBLE
the mode is probably visible -
STRONG_VISIBLE
the mode is visible
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
isHidden
public boolean isHidden()Tells whether thisExtendedModeEnablement.Hiddenmeans "hidden" or "visible".- Returns:
trueifthismeans "hidden".
-
strongest
- Parameters:
other- some otherExtendedModeEnablement.Hidden- Returns:
- the stronger of
thisandother
-