BackgroundColor (View - Java)

Read-write. The background color of a view.

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

Defined in

View

Data type

int

Syntax

public int getBackgroundColor()
    throws NotesException
public void setBackgroundColor(int color)
    throws NotesException

Legal values

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

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

Example