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

You can control:
- The name of the RowSelector bean. Specify the name as the beanName property
value.
- 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.
- 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.
- 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 row to be selected from the source TableModel. Specify this in the rowNumber
property value.
- The index of the column to start the selection from the source TableModel. Specify this in
the startColumnNumber 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

RowSelector
