org.rcfaces.core.component.capability
Interface ISelected3StatesCapability


public interface ISelected3StatesCapability

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

Field Summary
static String NOT_SELECTED_STATE
           
static String SELECTED_STATE
           
static String UNDETERMINATED_STATE
           
 
Method Summary
 String getSelectedState()
          Returns a string value indicating wether the component is selected.
 boolean isSelected()
          Returns a boolean value indicating wether the component is selected.
 boolean isUndeterminated()
          Sets a boolean value indicating wether the component is in a undeterminated select state.
 void setSelectedState(String selectedState)
          Sets a string value indicating wether the component is selected.
 

Field Detail

NOT_SELECTED_STATE

static final String NOT_SELECTED_STATE
See Also:
Constant Field Values

SELECTED_STATE

static final String SELECTED_STATE
See Also:
Constant Field Values

UNDETERMINATED_STATE

static final String UNDETERMINATED_STATE
See Also:
Constant Field Values
Method Detail

getSelectedState

String getSelectedState()
Returns a string value indicating wether the component is selected.

Returns:
NOT_SELECTED_STATE:notSelected|SELECTED_STATE:selected|UNDETERMINATED_STATE:undeterminated

setSelectedState

void setSelectedState(String selectedState)
Sets a string value indicating wether the component is selected.

Parameters:
selectedState - NOT_SELECTED_STATE:notSelected|SELECTED_STATE:selected|UNDETERMINATED_STATE:undeterminated

isSelected

boolean isSelected()
Returns a boolean value indicating wether the component is selected.

Returns:
true if selected, false otherwise

isUndeterminated

boolean isUndeterminated()
Sets a boolean value indicating wether the component is in a undeterminated select state.

Returns:
true if undeterminate select state, false otherwise


Copyright © 2006-2011 Vedana. All Rights Reserved.