Package eu.webtoolkit.jwt
Class ItemDataRole
java.lang.Object
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
Fields Modifier and Type Field Description static int
BarBrushColorRole
Bar brush color (forWCartesianChart
)static int
BarPenColorRole
Bar pen color (forWCartesianChart
)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 (forWCartesianChart
)static int
MarkerPenColorRole
Marker pen color (forWCartesianChart
)static int
MarkerScaleFactorRole
Marker size (forWCartesianChart
)static int
MarkerTypeRole
Marker type (forWCartesianChart
)static int
MimeTypeRole
Role for mime type information.static int
StyleClassRole
Role for the style class.static int
ToolTipRole
Role for a (plain) tooltip.static int
UserRole
First role reserved for user purposes. -
Constructor Summary
Constructors Constructor Description ItemDataRole()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DisplayRole
public static final int DisplayRoleRole for textual representation.- See Also:
- Constant Field Values
-
DecorationRole
public static final int DecorationRoleRole for the url of an icon.- See Also:
- Constant Field Values
-
EditRole
public static final int EditRoleRole for the edited value.- See Also:
- Constant Field Values
-
StyleClassRole
public static final int StyleClassRoleRole for the style class.- See Also:
- Constant Field Values
-
CheckStateRole
public static final int CheckStateRoleRole that indicates the check state.Data for this role should be a
bool
. When theItemFlag.ItemIsTristate
flag is set for the item, data for this role should be of typeCheckState
.- See Also:
- Constant Field Values
-
ToolTipRole
public static final int ToolTipRoleRole for a (plain) tooltip.- See Also:
- Constant Field Values
-
LinkRole
public static final int LinkRoleRole for a link.- See Also:
- Constant Field Values
-
MimeTypeRole
public static final int MimeTypeRoleRole for mime type information.- See Also:
- Constant Field Values
-
LevelRole
public static final int LevelRoleLevel in aggregation, for header data.- See Also:
- Constant Field Values
-
MarkerPenColorRole
public static final int MarkerPenColorRoleMarker pen color (forWCartesianChart
)- See Also:
- Constant Field Values
-
MarkerBrushColorRole
public static final int MarkerBrushColorRoleMarker brush color (forWCartesianChart
)- See Also:
- Constant Field Values
-
MarkerScaleFactorRole
public static final int MarkerScaleFactorRoleMarker size (forWCartesianChart
)- See Also:
- Constant Field Values
-
MarkerTypeRole
public static final int MarkerTypeRoleMarker type (forWCartesianChart
)- See Also:
- Constant Field Values
-
BarPenColorRole
public static final int BarPenColorRoleBar pen color (forWCartesianChart
)- See Also:
- Constant Field Values
-
BarBrushColorRole
public static final int BarBrushColorRoleBar brush color (forWCartesianChart
)- See Also:
- Constant Field Values
-
UserRole
public static final int UserRoleFirst role reserved for user purposes.- See Also:
- Constant Field Values
-
-
Constructor Details
-
ItemDataRole
public ItemDataRole()
-