org.rcfaces.core.component.capability
Interface ISelectionCardinalityCapability

All Superinterfaces:
ICardinality
All Known Implementing Classes:
ComponentsGridComponent, DataGridComponent, TreeComponent

public interface ISelectionCardinalityCapability
extends ICardinality

An int value specifying the type of multiple selection authorized:

cf. ICardinality for constant values

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Field Summary
static int DEFAULT_CARDINALITY
          Default cardinality for selection feature.
 
Fields inherited from interface org.rcfaces.core.component.capability.ICardinality
ONE_CARDINALITY, ONEMANY_CARDINALITY, OPTIONAL_CARDINALITY, ZEROMANY_CARDINALITY
 
Method Summary
 int getSelectionCardinality()
          Returns an int value specifying the type of multiple selection authorized. cf.
 void setSelectionCardinality(int selectionCardinality)
          Sets an int value specifying the type of multiple selection authorized.
 

Field Detail

DEFAULT_CARDINALITY

static final int DEFAULT_CARDINALITY
Default cardinality for selection feature.

See Also:
Constant Field Values
Method Detail

getSelectionCardinality

int getSelectionCardinality()
Returns an int value specifying the type of multiple selection authorized. cf. ICardinality for constant values

Returns:
1: none or one selection|2: any number of selections or none|3: one and only one selection|4: one or more selection

setSelectionCardinality

void setSelectionCardinality(int selectionCardinality)
Sets an int value specifying the type of multiple selection authorized. cf. ICardinality for constant values

Parameters:
selectionCardinality - 1: none or one selection|2: any number of selections or none|3: one and only one selection|4: one or more selection


Copyright © 2006-2011 Vedana. All Rights Reserved.