|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ParserNotice.Level>
org.fife.ui.rsyntaxtextarea.parser.ParserNotice.Level
public static enum ParserNotice.Level
Denotes the severity of a parser notice.
| Enum Constant Summary | |
|---|---|
ERROR
Indicates an error notice. |
|
INFO
Indicates an informational notice. |
|
WARNING
Indicates a warning notice. |
|
| Method Summary | |
|---|---|
int |
getNumericValue()
Returns the value of this notice level, as an integer. |
boolean |
isEqualToOrWorseThan(ParserNotice.Level other)
Returns whether this level is as sever as, or worse than, another level. |
static ParserNotice.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ParserNotice.Level[] |
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 |
|---|
public static final ParserNotice.Level INFO
public static final ParserNotice.Level WARNING
public static final ParserNotice.Level ERROR
| Method Detail |
|---|
public static ParserNotice.Level[] values()
for (ParserNotice.Level c : ParserNotice.Level.values()) System.out.println(c);
public static ParserNotice.Level 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 name
java.lang.NullPointerException - if the argument is nullpublic int getNumericValue()
public boolean isEqualToOrWorseThan(ParserNotice.Level other)
other - The other level.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||