View Javadoc

1   /*
2    * $Id: IMaxTextLengthCapability.java,v 1.2 2007/07/19 12:12:04 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.2 $ $Date: 2007/07/19 12:12:04 $
10   */
11  public interface IMaxTextLengthCapability {
12  
13      /**
14       * Returns an int value specifying the maximum number of characters that the
15       * user can enter in the component.
16       * 
17       * @return maximum number of characters
18       */
19      int getMaxTextLength();
20  
21      /**
22       * Sets an int value specifying the maximum number of characters that the
23       * user can enter in the component.
24       * 
25       * @param maxTextLength
26       *            maximum number of characters
27       */
28      void setMaxTextLength(int maxTextLength);
29  }