1 /*
2 * $Id: IOrderCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3 *
4 */
5 package org.rcfaces.core.component.capability;
6
7 /**
8 *
9 *
10 * @author Joel Merlin, Olivier Oeuillot
11 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
12 */
13 public interface IOrderCapability {
14
15 /**
16 * Returns a boolean value that indicates the sorting direction for the
17 * component.
18 *
19 * @return true if ascending, false if descending
20 */
21 boolean isAscending();
22
23 /**
24 * Sets a boolean value that indicates the sorting direction for the
25 * component.
26 *
27 * @param ascending
28 * true if ascending, false if descending
29 */
30 void setAscending(boolean ascending);
31
32 }