1 /*
2 * $Id: ISelectedCapability.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 Olivier Oeuillot (latest modification by $Author: jbmeslin $)
11 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
12 */
13 public interface ISelectedCapability {
14
15 /**
16 * Returns a boolean value indicating wether the component is selected.
17 *
18 * @return true if selected, false otherwise
19 */
20 boolean isSelected();
21
22 /**
23 * Sets a boolean value indicating wether the component is selected.
24 *
25 * @param selected
26 * true to select, false to unselect
27 */
28 void setSelected(boolean selected);
29 }