ListViewItem.Field

Defines a single field (cell) in a listview.

Constructors

this
this(Text text, ABitmap bitmap, bool editable, bool numOnly, bool fp, bool posOnly)

Default constructor.

Members

Properties

editable
bool editable [@property getter]

Returns whether the field is editable.

editable
bool editable [@property setter]

Sets whether the field is editable. Returns the new value.

integer
bool integer [@property getter]

Returns whether the field is integer only.

integer
bool integer [@property setter]

Sets whether the field is integer only. Returns the new value.

numeric
bool numeric [@property getter]

Returns whether the field is numeric only.

numeric
bool numeric [@property setter]

Sets whether the field is numeric only. Returns the new value.

positiveOnly
bool positiveOnly [@property getter]

Returns whether the field is positive only.

positiveOnly
bool positiveOnly [@property setter]

Sets whether the field is positive only. Returns the new value.

Static variables

INTEGER
enum INTEGER;

Set if field only accepts integer numbers.

IS_EDITABLE
enum IS_EDITABLE;

Set if field is text editable.

NUMERIC
enum NUMERIC;

Set if field only accepts numeric values (integer or floating-point).

POSITIVE_ONLY
enum POSITIVE_ONLY;

Set if field only accepts positive numeric values (integer or floating-point).

Variables

bitmap
ABitmap bitmap;

Custom bitmap, can be 32 bit if target enables it.

text
Text text;

Stores the text of this field if there's any.

Meta