bibliothek.gui.dock.facile.mode.status
Enum ExtendedModeEnablement.Hidden

java.lang.Object
  extended by java.lang.Enum<ExtendedModeEnablement.Hidden>
      extended by bibliothek.gui.dock.facile.mode.status.ExtendedModeEnablement.Hidden
All Implemented Interfaces:
Serializable, Comparable<ExtendedModeEnablement.Hidden>
Enclosing interface:
ExtendedModeEnablement

public static enum ExtendedModeEnablement.Hidden
extends Enum<ExtendedModeEnablement.Hidden>

A measurement of how hidden a certain mode is. Is several ExtendedModeEnablement.Hiddens are present, the first one of this list wins:

  1. STRONG_HIDDEN
  2. STRONG_VISIBLE
  3. WEAK_HIDDEN
  4. WEAK_VISIBLE
  5. UNCERTAIN

Author:
Benjamin Sigg

Enum Constant Summary
STRONG_HIDDEN
          the mode is most certainly hidden
STRONG_VISIBLE
          the mode is visible
UNCERTAIN
          the strategy cannot decide, some other code will make the decision
WEAK_HIDDEN
          the mode is probably hidden
WEAK_VISIBLE
          the mode is probably visible
 
Method Summary
 boolean isHidden()
          Tells whether this ExtendedModeEnablement.Hidden means "hidden" or "visible".
 ExtendedModeEnablement.Hidden strongest(ExtendedModeEnablement.Hidden other)
          Gets the strongest ExtendedModeEnablement.Hidden of this and other.
static ExtendedModeEnablement.Hidden valueOf(String name)
          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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRONG_HIDDEN

public static final ExtendedModeEnablement.Hidden STRONG_HIDDEN
the mode is most certainly hidden


WEAK_HIDDEN

public static final ExtendedModeEnablement.Hidden WEAK_HIDDEN
the mode is probably hidden


UNCERTAIN

public static final ExtendedModeEnablement.Hidden UNCERTAIN
the strategy cannot decide, some other code will make the decision


WEAK_VISIBLE

public static final ExtendedModeEnablement.Hidden WEAK_VISIBLE
the mode is probably visible


STRONG_VISIBLE

public static final ExtendedModeEnablement.Hidden STRONG_VISIBLE
the mode is visible

Method Detail

values

public static ExtendedModeEnablement.Hidden[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ExtendedModeEnablement.Hidden c : ExtendedModeEnablement.Hidden.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExtendedModeEnablement.Hidden 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
NullPointerException - if the argument is null

isHidden

public boolean isHidden()
Tells whether this ExtendedModeEnablement.Hidden means "hidden" or "visible".

Returns:
true if this means "hidden".

strongest

public ExtendedModeEnablement.Hidden strongest(ExtendedModeEnablement.Hidden other)
Gets the strongest ExtendedModeEnablement.Hidden of this and other.

Parameters:
other - some other ExtendedModeEnablement.Hidden
Returns:
the stronger of this and other