|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.comparison.CmsDiffViewMode
public final class CmsDiffViewMode
Wrapper class for the different types of diff modes.
The possibles values are:
Field Summary | |
---|---|
static CmsDiffViewMode |
ALL
Constant for viewing all lines. |
static CmsDiffViewMode |
DIFF_ONLY
Constant for viewing only the different lines. |
static java.util.List |
VALUES
List of mode constants. |
Method Summary | |
---|---|
java.lang.String |
getMode()
Returns the mode string. |
CmsMessageContainer |
getName()
Returns the name to show. |
java.lang.String |
toString()
|
static CmsDiffViewMode |
valueOf(java.lang.String value)
Parses an string into an element of this enumeration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CmsDiffViewMode ALL
public static final CmsDiffViewMode DIFF_ONLY
public static final java.util.List VALUES
Method Detail |
---|
public static CmsDiffViewMode valueOf(java.lang.String value) throws CmsIllegalArgumentException
value
- the mode to parse
CmsIllegalArgumentException
- if the given value could not be matched against an
element of this type.public java.lang.String getMode()
public CmsMessageContainer getName()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |