com.eliad.util
Interface GridSelectionConstants

All Known Subinterfaces:
GridSelectionModel
All Known Implementing Classes:
JSmartGrid

public interface GridSelectionConstants

A collection of constants defining policies and units generally used for selection models.

Version:
1.0 00/05/20
Author:
Patrick Mérissert-Coffinières

Field Summary
static int COLUMN_RANGE_SELECTION
          A value for the selectionMode property: only a range of continuous columns may be selected.
static int MULTIPLE_COLUMN_SELECTION
          A value for the selectionMode property: any number of columns may be selected.
static int MULTIPLE_RECTANGLE_SELECTION
          A value for the selectionMode property: any configuration may be selected
static int MULTIPLE_ROW_SELECTION
          A value for the selectionMode property: any number of rows may be selected.
static int POLICY_COUNT
          The count of all possible policy values
static int POLICY_MASK
          The mask of all policy bits
static int POLICY_MULTIRANGE
          The policy of selecting any set of units.
static int POLICY_NONE
          The policy of a null selection model.
static int POLICY_RANGE
          The policy of selecting a single continuous range of units.
static int POLICY_SINGLE
          The policy of selecting a single unit
static int ROW_RANGE_SELECTION
          A value for the selectionMode property: only a range of continuous rows may be selected.
static int SINGLE_CELL_SELECTION
          A value for the selectionMode property: one cell at most can be selected at any time.
static int SINGLE_COLUMN_SELECTION
          A value for the selectionMode property: only a single column may be selected.
static int SINGLE_RECTANGLE_SELECTION
          A value for the selectionMode property: only one continuous rectangle of cells can be selected at any time.
static int SINGLE_ROW_SELECTION
          A value for the selectionMode property: only one row may be selected.
static int UNIT_CELL
          The unit of selection is the cell.
static int UNIT_COLUMN
          The unit of selection is the column.
static int UNIT_ROW
          The unit of selection is the row.
 

Field Detail

POLICY_NONE

public static final int POLICY_NONE
The policy of a null selection model.

POLICY_SINGLE

public static final int POLICY_SINGLE
The policy of selecting a single unit

POLICY_RANGE

public static final int POLICY_RANGE
The policy of selecting a single continuous range of units.

POLICY_MULTIRANGE

public static final int POLICY_MULTIRANGE
The policy of selecting any set of units.

POLICY_MASK

public static final int POLICY_MASK
The mask of all policy bits

POLICY_COUNT

public static final int POLICY_COUNT
The count of all possible policy values

UNIT_CELL

public static final int UNIT_CELL
The unit of selection is the cell.

UNIT_ROW

public static final int UNIT_ROW
The unit of selection is the row.

UNIT_COLUMN

public static final int UNIT_COLUMN
The unit of selection is the column.

SINGLE_CELL_SELECTION

public static final int SINGLE_CELL_SELECTION
A value for the selectionMode property: one cell at most can be selected at any time.

SINGLE_RECTANGLE_SELECTION

public static final int SINGLE_RECTANGLE_SELECTION
A value for the selectionMode property: only one continuous rectangle of cells can be selected at any time.

MULTIPLE_RECTANGLE_SELECTION

public static final int MULTIPLE_RECTANGLE_SELECTION
A value for the selectionMode property: any configuration may be selected

SINGLE_ROW_SELECTION

public static final int SINGLE_ROW_SELECTION
A value for the selectionMode property: only one row may be selected.

ROW_RANGE_SELECTION

public static final int ROW_RANGE_SELECTION
A value for the selectionMode property: only a range of continuous rows may be selected.

MULTIPLE_ROW_SELECTION

public static final int MULTIPLE_ROW_SELECTION
A value for the selectionMode property: any number of rows may be selected.

SINGLE_COLUMN_SELECTION

public static final int SINGLE_COLUMN_SELECTION
A value for the selectionMode property: only a single column may be selected.

COLUMN_RANGE_SELECTION

public static final int COLUMN_RANGE_SELECTION
A value for the selectionMode property: only a range of continuous columns may be selected.

MULTIPLE_COLUMN_SELECTION

public static final int MULTIPLE_COLUMN_SELECTION
A value for the selectionMode property: any number of columns may be selected.