FontColor (Java)

Read-write. The font color of data in a column.

Note: This property is read-write with Release 6.5.

ViewColumn

Data type

int

Syntax

public int getFontColor()
    throws NotesException
public void setFontColor(int color)
    throws NotesException

Legal values

A Domino® color index in the range 0-240; see ColorObject and NotesColor. The first 16 are:

  • RichTextStyle.COLOR_BLACK
  • RichTextStyle.COLOR_BLUE
  • RichTextStyle.COLOR_CYAN
  • RichTextStyle.COLOR_DARK_BLUE
  • RichTextStyle.COLOR_DARK_CYAN
  • RichTextStyle.COLOR_DARK_GREEN
  • RichTextStyle.COLOR_DARK_MAGENTA
  • RichTextStyle.COLOR_DARK_RED
  • RichTextStyle.COLOR_DARK_YELLOW
  • RichTextStyle.COLOR_GRAY
  • RichTextStyle.COLOR_GREEN
  • RichTextStyle.COLOR_LIGHT_GRAY
  • RichTextStyle.COLOR_MAGENTA
  • RichTextStyle.COLOR_RED
  • RichTextStyle.COLOR_WHITE
  • RichTextStyle.COLOR_YELLOW

Example