Skip to main content

Class JtvColorItem

public class JtvColorItem

A named colour-palette item within a JtvColorGroup.

TColorItem represents a single named entry within a JtvColorGroup. Each item has a display name and a palette index that identifies the specific colour entry it controls in the application palette.

org.viktor44.jtvision.dialogs.JtvColorItem

Summary​

Constructors​

VisibilitySignature
publicJtvColorItem(String nm, int idx)

Fields​

ModifiersField nameType
privatenameString
privateindexint

Methods​

ModifiersMethod signatureReturn type
publicgetName()String
publicgetIndex()int

Constructors​

JtvColorItem(String nm, int idx)​

Creates a colour item.

Parameters

  • nm - the display name
  • idx - the palette index this item controls

Fields​

String name​

The display name shown in the colour item list.

int index​

The index into the application palette that this item controls.

Methods​

getName()​

The display name shown in the colour item list.

getIndex()​

The index into the application palette that this item controls.