org.rcfaces.core.component.capability
Interface ISortEventCapability

All Known Implementing Classes:
AbstractDataComponent, ComboColumnComponent, ComponentsColumnComponent, ComponentsGridComponent, ComponentsListComponent, DataColumnComponent, DataGridComponent

public interface ISortEventCapability

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

Field Summary
static String SORT_ALPHA
           
static String SORT_ALPHA_IGNORE_CASE
           
static String SORT_DATE
           
static String SORT_INTEGER
           
static String SORT_NUMBER
           
static String SORT_SERVER
           
static String SORT_TIME
           
 
Method Summary
 void addSortListener(ISortListener facesListener)
          Adds a listener to the component for the sort event
 FacesListener[] listSortListeners()
          Returns a list of sort listener for the component
 void removeSortListener(ISortListener facesListener)
          Removes a listener from the component for the sort event
 

Field Detail

SORT_INTEGER

static final String SORT_INTEGER
See Also:
Constant Field Values

SORT_NUMBER

static final String SORT_NUMBER
See Also:
Constant Field Values

SORT_ALPHA

static final String SORT_ALPHA
See Also:
Constant Field Values

SORT_ALPHA_IGNORE_CASE

static final String SORT_ALPHA_IGNORE_CASE
See Also:
Constant Field Values

SORT_TIME

static final String SORT_TIME
See Also:
Constant Field Values

SORT_DATE

static final String SORT_DATE
See Also:
Constant Field Values

SORT_SERVER

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

addSortListener

void addSortListener(ISortListener facesListener)
Adds a listener to the component for the sort event

Parameters:
facesListener - the sort listener to add

removeSortListener

void removeSortListener(ISortListener facesListener)
Removes a listener from the component for the sort event

Parameters:
facesListener - the sort listener to remove

listSortListeners

FacesListener[] listSortListeners()
Returns a list of sort listener for the component

Returns:
sort listeners' list


Copyright © 2006-2011 Vedana. All Rights Reserved.