1 /*
2 * $Id: IOrientationCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3 *
4 */
5 package org.rcfaces.core.component.capability;
6
7 /**
8 * A string value specifying the orientation of the component :
9 * <ul>
10 * <li> horizontal (default value) </li>
11 * <li> vertical </li>
12 * </ul>
13 *
14 * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
15 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
16 */
17 public interface IOrientationCapability {
18
19 /**
20 * Returns a string value specifying the orientation of the component.
21 *
22 * @return horizontal|vertical
23 */
24 String getOrientation();
25
26 /**
27 * Sets a string value specifying the orientation of the component.
28 *
29 * @param orientation
30 * horizontal|vertical
31 */
32 void setOrientation(String orientation);
33
34 }