|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<RangeCompare>
org.xwiki.gwt.dom.client.RangeCompare
public enum RangeCompare
Passed as a parameter to the compareBoundaryPoints method.
| Enum Constant Summary | |
|---|---|
END_TO_END
Compare end boundary-point of sourceRange to end boundary-point of Range on which compareBoundaryPoints is invoked. |
|
END_TO_START
Compare end boundary-point of sourceRange to start boundary-point of Range on which compareBoundaryPoints is invoked. |
|
START_TO_END
Compare start boundary-point of sourceRange to end boundary-point of Range on which compareBoundaryPoints is invoked. |
|
START_TO_START
Compare start boundary-point of sourceRange to start boundary-point of Range on which compareBoundaryPoints is invoked. |
|
| Method Summary | |
|---|---|
RangeCompare |
reverse()
|
java.lang.String |
toString()
|
static RangeCompare |
valueOf(boolean firstEndPoint,
boolean secondEndPoint)
|
static RangeCompare |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RangeCompare[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RangeCompare START_TO_START
public static final RangeCompare START_TO_END
public static final RangeCompare END_TO_END
public static final RangeCompare END_TO_START
| Method Detail |
|---|
public static final RangeCompare[] values()
for(RangeCompare c : RangeCompare.values())
System.out.println(c);
public static RangeCompare valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString in class java.lang.Enum<RangeCompare>Enum.toString()public RangeCompare reverse()
public static RangeCompare valueOf(boolean firstEndPoint,
boolean secondEndPoint)
firstEndPoint - true for START and false for END.secondEndPoint - true for START and false for END.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||