View Javadoc

1   /*
2    * $Id: IComponentLocaleCapability.java,v 1.2 2007/05/24 12:26:16 oeuillot Exp $
3    * 
4    */
5   package org.rcfaces.core.component.capability;
6   
7   import java.util.Locale;
8   
9   /**
10   * 
11   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
12   * @version $Revision: 1.2 $ $Date: 2007/05/24 12:26:16 $
13   */
14  public interface IComponentLocaleCapability {
15  
16      /**
17       * Returns the locale defined for the component
18       * 
19       * @return the defined locale
20       */
21      Locale getComponentLocale();
22  
23      /**
24       * Sets the locale for the component
25       * 
26       * @param locale
27       *            locale to define
28       */
29      void setComponentLocale(Locale locale);
30  }