|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ExtendedModeEnablement.Availability>
bibliothek.gui.dock.facile.mode.status.ExtendedModeEnablement.Availability
public static enum ExtendedModeEnablement.Availability
A measurement of how available a certain mode is. Is several ExtendedModeEnablement.Availabilitys are present,
the first one of this list wins:
| Enum Constant Summary | |
|---|---|
STRONG_AVAILABLE
the mode is most certainly available |
|
STRONG_FORBIDDEN
the mode is not available |
|
UNCERTAIN
the strategy cannot decide, some other code will make the decision |
|
WEAK_AVAILABLE
the mode is probably available |
|
WEAK_FORBIDDEN
the mode is probably not available |
|
| Method Summary | |
|---|---|
boolean |
isAvailable()
Tells whether this ExtendedModeEnablement.Availability means "available" or "forbidden". |
ExtendedModeEnablement.Availability |
strongest(ExtendedModeEnablement.Availability other)
Gets the strongest ExtendedModeEnablement.Availability of this and other. |
static ExtendedModeEnablement.Availability |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ExtendedModeEnablement.Availability[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ExtendedModeEnablement.Availability STRONG_AVAILABLE
public static final ExtendedModeEnablement.Availability WEAK_AVAILABLE
public static final ExtendedModeEnablement.Availability UNCERTAIN
public static final ExtendedModeEnablement.Availability WEAK_FORBIDDEN
public static final ExtendedModeEnablement.Availability STRONG_FORBIDDEN
| Method Detail |
|---|
public static final ExtendedModeEnablement.Availability[] values()
for(ExtendedModeEnablement.Availability c : ExtendedModeEnablement.Availability.values())
System.out.println(c);
public static ExtendedModeEnablement.Availability valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic boolean isAvailable()
ExtendedModeEnablement.Availability means "available" or "forbidden".
true if this means "available".public ExtendedModeEnablement.Availability strongest(ExtendedModeEnablement.Availability other)
ExtendedModeEnablement.Availability of this and other.
other - some other ExtendedModeEnablement.Availability
this and other
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||