jcfunc.parameters
Enum paramSGR

java.lang.Object
  extended by java.lang.Enum<paramSGR>
      extended by jcfunc.parameters.paramSGR
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<paramSGR>

public enum paramSGR
extends java.lang.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

Reset

public static final paramSGR 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)


Bright

public static final paramSGR Bright
bold or increased intensity


Faint

public static final paramSGR Faint
faint, decreased intensity or second colour


Italic

public static final paramSGR Italic
italicized


Underline_Single

public static final paramSGR Underline_Single
singly underlined


Blink_Slow

public static final paramSGR Blink_Slow
slowly blinking (less then 150 per minute)


Blink_Rapid

public static final paramSGR Blink_Rapid
rapidly blinking (150 per minute or more)


Image_NGT

public static final paramSGR Image_NGT
negative image


Conceal

public static final paramSGR Conceal
concealed characters


CrossedOut

public static final paramSGR CrossedOut
crossed-out (characters still legible but marked as to be deleted)


Font_Pimary

public static final paramSGR Font_Pimary
primary (default) font


Font_Alt1

public static final paramSGR Font_Alt1
first alternative font


Font_Alt2

public static final paramSGR Font_Alt2
second alternative font


Font_Alt3

public static final paramSGR Font_Alt3
third alternative font


Font_Alt4

public static final paramSGR Font_Alt4
fourth alternative font


Font_Alt5

public static final paramSGR Font_Alt5
fifth alternative font


Font_Alt6

public static final paramSGR Font_Alt6
sixth alternative font


Font_Alt7

public static final paramSGR Font_Alt7
seventh alternative font


Font_Alt8

public static final paramSGR Font_Alt8
eighth alternative font


Font_Alt9

public static final paramSGR Font_Alt9
ninth alternative font


Fraktur

public static final paramSGR Fraktur
Fraktur (Gothic)


Underline_Doubly

public static final paramSGR Underline_Doubly
doubly underlined


Normal_Int

public static final paramSGR Normal_Int
normal colour or normal intensity (neither bold nor faint)


Normal_Style

public static final paramSGR Normal_Style
not italicized, not fraktur


Underline_NGT

public static final paramSGR Underline_NGT
not underlined (neither singly nor doubly)


Blink_NGT

public static final paramSGR Blink_NGT
steady (not blinking)


Reserved_1

public static final paramSGR Reserved_1
(reserved for proportional spacing as specified in CCITT Recommendation T.61)


Image_PST

public static final paramSGR Image_PST
positive image


Reveal

public static final paramSGR Reveal
revealed characters


CrossedOut_NGT

public static final paramSGR CrossedOut_NGT
not crossed out


Color_Text_Black

public static final paramSGR Color_Text_Black
black display


Color_Text_Red

public static final paramSGR Color_Text_Red
red display


Color_Text_Green

public static final paramSGR Color_Text_Green
green display


Color_Text_Yellow

public static final paramSGR Color_Text_Yellow
yellow display


Color_Text_Blue

public static final paramSGR Color_Text_Blue
blue display


Color_Text_Magenta

public static final paramSGR Color_Text_Magenta
magenta display


Color_Text_Cyan

public static final paramSGR Color_Text_Cyan
cyan display


Color_Text_White

public static final paramSGR Color_Text_White
white display


Color_Text_Reserved

public static final paramSGR 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

public static final paramSGR Color_Text_Reset
default display colour (implementation-defined)


Color_Bkgr_Black

public static final paramSGR Color_Bkgr_Black
black background


Color_Bkgr_Red

public static final paramSGR Color_Bkgr_Red
red background


Color_Bkgr_Green

public static final paramSGR Color_Bkgr_Green
green background


Color_Bkgr_Yellow

public static final paramSGR Color_Bkgr_Yellow
yellow background


Color_Bkgr_Blue

public static final paramSGR Color_Bkgr_Blue
blue background


Color_Bkgr_Magenta

public static final paramSGR Color_Bkgr_Magenta
magenta background


Color_Bkgr_Cyan

public static final paramSGR Color_Bkgr_Cyan
cyan background


Color_Bkgr_White

public static final paramSGR Color_Bkgr_White
white background


Color_Bkgr_Reserved

public static final paramSGR 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

public static final paramSGR Color_Bkgr_Reset
default background colour (implementation-defined)


Reserved_2

public static final paramSGR Reserved_2
(reserved for cancelling the effect of the rendering aspect established by parameter value 26)


Framed

public static final paramSGR Framed
framed


Encircled

public static final paramSGR Encircled
encircled


Overlined

public static final paramSGR Overlined
overlined


Outlined_NGT

public static final paramSGR Outlined_NGT
not framed, not encircled


Overlined_NGT

public static final paramSGR Overlined_NGT
not overlined


Reserved_3

public static final paramSGR Reserved_3
(reserved for future standardization)


Reserved_4

public static final paramSGR Reserved_4
(reserved for future standardization)


Reserved_5

public static final paramSGR Reserved_5
(reserved for future standardization)


Reserved_6

public static final paramSGR Reserved_6
(reserved for future standardization)


Line_BottomOrRight_Single

public static final paramSGR Line_BottomOrRight_Single
ideogram underline or right side line


Line_BottomOrRight_Double

public static final paramSGR Line_BottomOrRight_Double
ideogram double underline or double line on the right side


Line_TopOrLeft_Single

public static final paramSGR Line_TopOrLeft_Single
ideogram overline or left side line


Line_TopOrLeft_Double

public static final paramSGR Line_TopOrLeft_Double
ideogram double overline or double line on the left side


Stress_Mark

public static final paramSGR Stress_Mark
ideogram stress marking


Cansel_Any_Line

public static final paramSGR Cansel_Any_Line
cancels the effect of the rendition aspects established by parameter values 60 to 64


Nonstandard

public static final paramSGR Nonstandard
Don't define in Standart

Method Detail

values

public static paramSGR[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (paramSGR c : paramSGR.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static paramSGR valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getIntValue

public static int getIntValue(paramSGR val)
Returns int-value, which is corresponded to enum-value.

Parameters:
val - enum-value
Returns:
int-value

getEnumValue

public static paramSGR getEnumValue(int val)
Returns enum-value by int-value.

Parameters:
val - int-value
Returns:
enum-value

getColor

public static java.awt.Color getColor(paramSGR val)
Translates enum-value to Color.

Parameters:
val - enum-value
Returns:
Color-instance