View Javadoc

1   /*
2    * $Id: IPreferencesCapability.java,v 1.1 2008/01/29 10:59:56 oeuillot Exp $
3    * 
4    */
5   package org.rcfaces.core.component.capability;
6   
7   import org.rcfaces.core.preference.IComponentPreferences;
8   
9   /**
10   * 
11   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
12   * @version $Revision: 1.1 $ $Date: 2008/01/29 10:59:56 $
13   */
14  public interface IPreferencesCapability {
15  
16      /**
17       * Returns an object that holds the preferences for the component.
18       * 
19       * @return ComponentPreference object
20       */
21      IComponentPreferences getPreferences();
22  
23      /**
24       * Sets an object that holds the preferences for the component.
25       * 
26       * @param preferences
27       *            ComponentPreference object
28       */
29      void setPreferences(IComponentPreferences preferences);
30  }