Editing CellRangeSelector bean properties
You specify and control the operation of the CellRangeSelector bean by opening the
property sheet for the CellRangeSelector bean and setting the values for the displayed
properties. To open the property sheet of a CellRangeSelector bean on the Visual
Composition Editor surface:
- Right click the CellRangeSelector bean. The bean menu displays.
- Click Properties. The Properties sheet displays.

You can control:
- The name of the CellRangeSelector bean. Specify the name as the beanName property
value.
- Whether the column name is to be included as the first element of column data. This only
has effect when column data are retrieved as String values. Specify this in the includeColumnName property
value. Check the Show Expert Features checkbox to display this property.
- Whether the row and column indexes are assumed to index from one. This property should
be set to true where the selection row and/or column properties are connected to a bean
property that indexes from one. If set to false, indexing is from zero. Specify this in
the indexFromOne property value. Check the Show Expert Features
checkbox to display this property.
- Whether the data values are to be inverted row against column during retrieval from, or
update to, the source TableModel. The default orientation is row biased. Two dimensional
arrays will have one first level dimension for each row, and one second level dimension
for each column. When data is inverted then this arrangement will be reversed. Specify
this in the invertData property value. Check the Show Expert Features
checkbox to display this property.
- The maximum number of columns to be selected. You can select NO_MAXIMUM to indicate that
the last column of the selection should be the last column in the source TableModel.
Specify this in the maximumColumns property value.
- The maximum number of rows to be selected. You can select NO_MAXIMUM to indicate that
the last row of the selection should be the last row in the source TableModel. Specify
this in the maximumRows property value.
- Which data access property will be notified of changes by a propertyChange event.
Selectors are able to convert source data into a
variety of data types, each of which has a corresponding bound property. All of these
properties are theoretically altered when the selector data source or selection criteria
are changed. However, it would be very inefficient to generate propertyChange events for
all these properties. So the property of interest may be specified, limiting property
change events to a single property. By default, no property change events are generated.
Specify this in the notificationType property value. Check the Show Expert
Features checkbox to display this property.
- The index of the column to start the selection from the source TableModel. Specify this
in the startColumnNumber property value.
- The index of the row to start the selection from the source TableModel. Specify this in
the startRowNumber property value.
- The data type that should be used when populating vectors in response to a vector
property query. Some beans may require data to be fed to them in a vector, and may further
expect the elements in the vector to be of a specific type. Where this is the case the
notificationType property may be set to Selector.VECTOR to cause propertyChange events to
be generated for the vector property. Specify this in the vectorContentType property
value. Check the Show Expert Features checkbox to display this property.

Selector beans

Using Selector beans

CellRangeSelector
