|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<paramSGR>
jcfunc.parameters.paramSGR
public enum paramSGR
Enum paramSGR
contains returned values for control function CF.SGR
and some methods, which are designed to thus values processing.
Additionally it contains Color-parsing method.
Enum Constant Summary | |
---|---|
Blink_NGT
steady (not blinking) |
|
Blink_Rapid
rapidly blinking (150 per minute or more) |
|
Blink_Slow
slowly blinking (less then 150 per minute) |
|
Bright
bold or increased intensity |
|
Cansel_Any_Line
cancels the effect of the rendition aspects established by parameter values 60 to 64 |
|
Color_Bkgr_Black
black background |
|
Color_Bkgr_Blue
blue background |
|
Color_Bkgr_Cyan
cyan background |
|
Color_Bkgr_Green
green background |
|
Color_Bkgr_Magenta
magenta background |
|
Color_Bkgr_Red
red background |
|
Color_Bkgr_Reserved
(reserved for future standardization; intended for setting character background colour as specified in ISO 8613-6 [CCITT Recommendation T.416]) |
|
Color_Bkgr_Reset
default background colour (implementation-defined) |
|
Color_Bkgr_White
white background |
|
Color_Bkgr_Yellow
yellow background |
|
Color_Text_Black
black display |
|
Color_Text_Blue
blue display |
|
Color_Text_Cyan
cyan display |
|
Color_Text_Green
green display |
|
Color_Text_Magenta
magenta display |
|
Color_Text_Red
red display |
|
Color_Text_Reserved
(reserved for future standardization; intended for setting character foreground colour as specified in ISO 8613-6 [CCITT Recommendation T.416]) |
|
Color_Text_Reset
default display colour (implementation-defined) |
|
Color_Text_White
white display |
|
Color_Text_Yellow
yellow display |
|
Conceal
concealed characters |
|
CrossedOut
crossed-out (characters still legible but marked as to be deleted) |
|
CrossedOut_NGT
not crossed out |
|
Encircled
encircled |
|
Faint
faint, decreased intensity or second colour |
|
Font_Alt1
first alternative font |
|
Font_Alt2
second alternative font |
|
Font_Alt3
third alternative font |
|
Font_Alt4
fourth alternative font |
|
Font_Alt5
fifth alternative font |
|
Font_Alt6
sixth alternative font |
|
Font_Alt7
seventh alternative font |
|
Font_Alt8
eighth alternative font |
|
Font_Alt9
ninth alternative font |
|
Font_Pimary
primary (default) font |
|
Fraktur
Fraktur (Gothic) |
|
Framed
framed |
|
Image_NGT
negative image |
|
Image_PST
positive image |
|
Italic
italicized |
|
Line_BottomOrRight_Double
ideogram double underline or double line on the right side |
|
Line_BottomOrRight_Single
ideogram underline or right side line |
|
Line_TopOrLeft_Double
ideogram double overline or double line on the left side |
|
Line_TopOrLeft_Single
ideogram overline or left side line |
|
Nonstandard
Don't define in Standart |
|
Normal_Int
normal colour or normal intensity (neither bold nor faint) |
|
Normal_Style
not italicized, not fraktur |
|
Outlined_NGT
not framed, not encircled |
|
Overlined
overlined |
|
Overlined_NGT
not overlined |
|
Reserved_1
(reserved for proportional spacing as specified in CCITT Recommendation T.61) |
|
Reserved_2
(reserved for cancelling the effect of the rendering aspect established by parameter value 26) |
|
Reserved_3
(reserved for future standardization) |
|
Reserved_4
(reserved for future standardization) |
|
Reserved_5
(reserved for future standardization) |
|
Reserved_6
(reserved for future standardization) |
|
Reset
default rendition (implementation-defined), cancels the effect of any preceding occurrence of SGR in the data stream regardless of the setting of the GRAPHIC RENDITION COMBINATION MODE (GRCM) |
|
Reveal
revealed characters |
|
Stress_Mark
ideogram stress marking |
|
Underline_Doubly
doubly underlined |
|
Underline_NGT
not underlined (neither singly nor doubly) |
|
Underline_Single
singly underlined |
Method Summary | |
---|---|
static java.awt.Color |
getColor(paramSGR val)
Translates enum-value to Color . |
static paramSGR |
getEnumValue(int val)
Returns enum-value by int-value. |
static int |
getIntValue(paramSGR val)
Returns int-value, which is corresponded to enum-value. |
static paramSGR |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static paramSGR[] |
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 paramSGR Reset
public static final paramSGR Bright
public static final paramSGR Faint
public static final paramSGR Italic
public static final paramSGR Underline_Single
public static final paramSGR Blink_Slow
public static final paramSGR Blink_Rapid
public static final paramSGR Image_NGT
public static final paramSGR Conceal
public static final paramSGR CrossedOut
public static final paramSGR Font_Pimary
public static final paramSGR Font_Alt1
public static final paramSGR Font_Alt2
public static final paramSGR Font_Alt3
public static final paramSGR Font_Alt4
public static final paramSGR Font_Alt5
public static final paramSGR Font_Alt6
public static final paramSGR Font_Alt7
public static final paramSGR Font_Alt8
public static final paramSGR Font_Alt9
public static final paramSGR Fraktur
public static final paramSGR Underline_Doubly
public static final paramSGR Normal_Int
public static final paramSGR Normal_Style
public static final paramSGR Underline_NGT
public static final paramSGR Blink_NGT
public static final paramSGR Reserved_1
public static final paramSGR Image_PST
public static final paramSGR Reveal
public static final paramSGR CrossedOut_NGT
public static final paramSGR Color_Text_Black
public static final paramSGR Color_Text_Red
public static final paramSGR Color_Text_Green
public static final paramSGR Color_Text_Yellow
public static final paramSGR Color_Text_Blue
public static final paramSGR Color_Text_Magenta
public static final paramSGR Color_Text_Cyan
public static final paramSGR Color_Text_White
public static final paramSGR Color_Text_Reserved
public static final paramSGR Color_Text_Reset
public static final paramSGR Color_Bkgr_Black
public static final paramSGR Color_Bkgr_Red
public static final paramSGR Color_Bkgr_Green
public static final paramSGR Color_Bkgr_Yellow
public static final paramSGR Color_Bkgr_Blue
public static final paramSGR Color_Bkgr_Magenta
public static final paramSGR Color_Bkgr_Cyan
public static final paramSGR Color_Bkgr_White
public static final paramSGR Color_Bkgr_Reserved
public static final paramSGR Color_Bkgr_Reset
public static final paramSGR Reserved_2
public static final paramSGR Framed
public static final paramSGR Encircled
public static final paramSGR Overlined
public static final paramSGR Outlined_NGT
public static final paramSGR Overlined_NGT
public static final paramSGR Reserved_3
public static final paramSGR Reserved_4
public static final paramSGR Reserved_5
public static final paramSGR Reserved_6
public static final paramSGR Line_BottomOrRight_Single
public static final paramSGR Line_BottomOrRight_Double
public static final paramSGR Line_TopOrLeft_Single
public static final paramSGR Line_TopOrLeft_Double
public static final paramSGR Stress_Mark
public static final paramSGR Cansel_Any_Line
public static final paramSGR Nonstandard
Method Detail |
---|
public static paramSGR[] values()
for (paramSGR c : paramSGR.values()) System.out.println(c);
public static paramSGR 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 static int getIntValue(paramSGR val)
val
- enum-value
public static paramSGR getEnumValue(int val)
val
- int-value
public static java.awt.Color getColor(paramSGR val)
Color
.
val
- enum-value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |