View Javadoc

1   /*
2    * Copyright (c) 2001 - 2005 ivata limited.
3    * All rights reserved.
4    * -----------------------------------------------------------------------------
5    * ivata masks may be redistributed under the GNU General Public
6    * License as published by the Free Software Foundation;
7    * version 2 of the License.
8    *
9    * These programs are free software; you can redistribute them and/or
10   * modify them under the terms of the GNU General Public License
11   * as published by the Free Software Foundation; version 2 of the License.
12   *
13   * These programs are distributed in the hope that they will be useful,
14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16   *
17   * See the GNU General Public License in the file LICENSE.txt for more
18   * details.
19   *
20   * If you would like a copy of the GNU General Public License write to
21   *
22   * Free Software Foundation, Inc.
23   * 59 Temple Place - Suite 330
24   * Boston, MA 02111-1307, USA.
25   *
26   *
27   * To arrange commercial support and licensing, contact ivata at
28   *                  http://www.ivata.com/contact.jsp
29   * -----------------------------------------------------------------------------
30   */
31  package com.ivata.mask.web.field;
32  
33  /***
34   * Stores constant strings or magic numbers used in the field writers.
35   *
36   * @since ivata masks 0.5 (2005-01-11)
37   * @author Colin MacLeod
38   * <a href="mailto:colin.macleod@ivata.com">colin.macleod@ivata.com</a>
39   * @version $Revision: 1.2 $
40   */
41  
42  public final class FieldWriterConstants {
43      /***
44       * This is the height combo boxes (select tags) will have when the user can
45       * select multiple values, in {@link DefaultFieldWriterFactory}.
46       */
47      public static final int MULTIPLE_LIST_HEIGHT = 5;
48      /***
49       * Private constructor enforces utility class behavior.
50       */
51      private FieldWriterConstants() {
52      }
53  }