public static enum Ansi.Modifier extends Enum<Ansi.Modifier> implements Ansi.AnsiCode
| Modifier and Type | Method and Description |
|---|---|
int |
getBeginInt() |
int |
getEndInt() |
static Ansi.Modifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ansi.Modifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetEnd, getStartpublic static final Ansi.Modifier BOLD
public static final Ansi.Modifier UNDERLINE
public static final Ansi.Modifier INVERSE
public static Ansi.Modifier[] values()
for (Ansi.Modifier c : Ansi.Modifier.values()) System.out.println(c);
public static Ansi.Modifier valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getBeginInt()
getBeginInt in interface Ansi.AnsiCodepublic int getEndInt()
getEndInt in interface Ansi.AnsiCodeCopyright © 2015. All rights reserved.