PresentationAttributes fields in EGL consoleUI

The following list defines the fields that you can set or retrieve in any system variable of type PresentationAttributes:
color
Specifies a color.
  • Type: ColorKind
  • Example: color = red
  • Default: white
  • Updatable at run time? Yes, but the update has a visual effect only for output that is displayed after the color field is updated
Values are as follows:
defaultColor or white (the default)
White
black
Black
blue
Blue
cyan
Cyan
green
Green
magenta
Magenta
red
Red
yellow
Yellow
highlight
Specifies the special effects (if any) that are used when displaying output.
  • Type: HighlightKind[]
  • Example: highlight = [reverse, underline]
  • Default: [noHighLight]
  • Updatable at run time? Yes, but the update has a visual effect only for output that is displayed after the highlight field is updated
Values are as follows:
noHighlight (the default)
Causes no special effect. Use of this value overrides any other.
blink
Has no effect at this time.
reverse
Reverses the text and background colors so that (for example) if the display has a black background with white letters, the background becomes white and the text becomes black.
underline
Places an underline under the affected areas. The color of the underline is the color of the text, even if the value reverse is also specified.
intensity
Specifies the strength of the displayed font.
  • Type: IntensityKind[]
  • Example: intensity = [bold]
  • Default: [normalIntensity]
  • Updatable at run time? Yes, but the update has a visual effect only for output that is displayed after the intensity field is updated
Values are as follows:
normalIntensity (the default)
Causes no special effect. Use of this value overrides any other.
bold
Causes the text to appear in a bold-weight font.
dim
Has no effect at this time. In future, may cause the text to appear with a lessened intensity, as appropriate when all input fields are disabled.
invisible
Removes any indication that the text is on the form.

Related concepts
Console user interface

Related reference
currentDisplayAttrs
currentRowAttrs
defaultDisplayAttributes
defaultInputAttributes
ConsoleUI parts and related variables
openUI

Related task
Creating an interface with ConsoleUI

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.