eu.webtoolkit.jwt
Class ItemDataRole

java.lang.Object
  extended by eu.webtoolkit.jwt.ItemDataRole

public class ItemDataRole
extends java.lang.Object

Enumeration that indicates a role for a data item.

A single data item can have data associated with it corresponding to different roles. Each role may be used by the corresponding view class in a different way.

See Also:
WModelIndex.getData(int role)

Field Summary
static int BarBrushColorRole
          Bar brush color (for WCartesianChart).
static int BarPenColorRole
          Bar pen color (for WCartesianChart).
static int CheckStateRole
           Role that indicates the check state.
static int DecorationRole
          Role for the url of an icon.
static int DisplayRole
          Role for textual representation.
static int EditRole
          Role for the edited value.
static int LevelRole
          Level in aggregation, for header data.
static int LinkRole
          Role for a link.
static int MarkerBrushColorRole
          Marker brush color (for WCartesianChart).
static int MarkerPenColorRole
          Marker pen color (for WCartesianChart).
static int StyleClassRole
          Role for the style class.
static int ToolTipRole
          Role for a tooltip.
static int UserRole
          First role reserved for user purposes.
 
Constructor Summary
ItemDataRole()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DisplayRole

public static final int DisplayRole
Role for textual representation.

See Also:
Constant Field Values

DecorationRole

public static final int DecorationRole
Role for the url of an icon.

See Also:
Constant Field Values

EditRole

public static final int EditRole
Role for the edited value.

See Also:
Constant Field Values

StyleClassRole

public static final int StyleClassRole
Role for the style class.

See Also:
Constant Field Values

CheckStateRole

public static final int CheckStateRole

Role that indicates the check state. Data for this role should be a bool. When the ItemFlag.ItemIsTristate flag is set for the item, data for this role should be of type CheckState.

See Also:
Constant Field Values

ToolTipRole

public static final int ToolTipRole
Role for a tooltip.

See Also:
Constant Field Values

LinkRole

public static final int LinkRole
Role for a link.

See Also:
Constant Field Values

LevelRole

public static final int LevelRole
Level in aggregation, for header data.

See Also:
Constant Field Values

MarkerPenColorRole

public static final int MarkerPenColorRole
Marker pen color (for WCartesianChart).

See Also:
Constant Field Values

MarkerBrushColorRole

public static final int MarkerBrushColorRole
Marker brush color (for WCartesianChart).

See Also:
Constant Field Values

BarPenColorRole

public static final int BarPenColorRole
Bar pen color (for WCartesianChart).

See Also:
Constant Field Values

BarBrushColorRole

public static final int BarBrushColorRole
Bar brush color (for WCartesianChart).

See Also:
Constant Field Values

UserRole

public static final int UserRole
First role reserved for user purposes.

See Also:
Constant Field Values
Constructor Detail

ItemDataRole

public ItemDataRole()