View Javadoc

1   /*
2    * $Id: IWidthRangeCapability.java,v 1.1 2007/04/20 13:43:05 oeuillot Exp $
3    */
4   package org.rcfaces.core.component.capability;
5   
6   /**
7    * 
8    * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
9    * @version $Revision: 1.1 $ $Date: 2007/04/20 13:43:05 $
10   */
11  public interface IWidthRangeCapability extends IWidthCapability {
12  
13      /**
14       * Returns an int value specifying the maximum width in pixels (if
15       * resizeable).
16       * 
17       * @return max width
18       */
19      int getMaxWidth();
20  
21      /**
22       * Sets an int value specifying the maximum width in pixels (if resizeable).
23       * 
24       * @param maxWidth
25       *            max width
26       */
27      void setMaxWidth(int maxWidth);
28  
29      /**
30       * Returns an int value specifying the minimum width in pixels (if
31       * resizeable).
32       * 
33       * @return min width
34       */
35      int getMinWidth();
36  
37      /**
38       * Sets an int value specifying the minimum width in pixels (if resizeable).
39       * 
40       * @param minWidth
41       *            min width
42       */
43      void setMinWidth(int minWidth);
44  }