KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > displaytag > tags > TableTagParameters


1 /**
2  * Licensed under the Artistic License; you may not use this file
3  * except in compliance with the License.
4  * You may obtain a copy of the License at
5  *
6  * http://displaytag.sourceforge.net/license.html
7  *
8  * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
9  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
10  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11  */

12 package org.displaytag.tags;
13
14 /**
15  * Constants for parameter names.
16  * @author Fabrizio Giustina
17  * @version $Revision: 1024 $ ($Author: fgiust $)
18  */

19 public final class TableTagParameters
20 {
21
22     /**
23      * name of the parameter specifying the current sorted column index.
24      */

25     public static final String JavaDoc PARAMETER_SORT = "s"; //$NON-NLS-1$
26

27     /**
28      * name of the parameter specifying that the sorted column will be specified using name and not index.
29      */

30     public static final String JavaDoc PARAMETER_SORTUSINGNAME = "n"; //$NON-NLS-1$
31

32     /**
33      * name of the parameter specifying the current page number.
34      */

35     public static final String JavaDoc PARAMETER_PAGE = "p"; //$NON-NLS-1$
36

37     /**
38      * name of the parameter specifying the current sorting order.
39      */

40     public static final String JavaDoc PARAMETER_ORDER = "o"; //$NON-NLS-1$
41

42     /**
43      * name of the parameter specifying the export type.
44      */

45     public static final String JavaDoc PARAMETER_EXPORTTYPE = "e"; //$NON-NLS-1$
46

47     /**
48      * name of the <strong>fixed </strong> parameter that will be added to the url if exporting is requested for any of
49      * the display table in the page. Used by the export filter to understand when output should not be flushed.
50      */

51     public static final String JavaDoc PARAMETER_EXPORTING = "6578706f7274"; //$NON-NLS-1$
52

53     /**
54      * sort only the displayed page.
55      */

56     public static final String JavaDoc SORT_AMOUNT_PAGE = "page"; //$NON-NLS-1$
57

58     /**
59      * sort the full list.
60      */

61     public static final String JavaDoc SORT_AMOUNT_LIST = "list"; //$NON-NLS-1$
62

63     /**
64      * let the server handle the sorting
65      */

66     public static final String JavaDoc SORT_AMOUNT_EXTERNAL = "external"; //$NON-NLS-1$
67

68     /**
69      * css class added to empty tables.
70      */

71     public static final String JavaDoc CSS_EMPTYLIST = "empty";
72
73     /**
74      * Key on the map passed to the filter containg the "buffer" flag.
75      */

76     public static final String JavaDoc BEAN_BUFFER = "buffer";
77
78     /**
79      * Key on the map passed to the filter containg the content type.
80      */

81     public static final String JavaDoc BEAN_CONTENTTYPE = "contenttype";
82
83     /**
84      * Key on the map passed to the filter containg the file name.
85      */

86     public static final String JavaDoc BEAN_FILENAME = "filename";
87
88     /**
89      * Key on the map passed to the filter containg the exported data.
90      */

91     public static final String JavaDoc BEAN_BODY = "body";
92
93     /**
94      * utility class - don't instantiate.
95      */

96     private TableTagParameters()
97     {
98         // unused
99
}
100
101 }
Popular Tags