01: //** Copyright Statement ***************************************************
02: //The Salmon Open Framework for Internet Applications (SOFIA)
03: // Copyright (C) 1999 - 2002, Salmon LLC
04: //
05: // This program is free software; you can redistribute it and/or
06: // modify it under the terms of the GNU General Public License version 2
07: // as published by the Free Software Foundation;
08: //
09: // This program is distributed in the hope that it will be useful,
10: // but WITHOUT ANY WARRANTY; without even the implied warranty of
11: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: // GNU General Public License for more details.
13: //
14: // You should have received a copy of the GNU General Public License
15: // along with this program; if not, write to the Free Software
16: // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17: //
18: // For more information please visit http://www.salmonllc.com
19: //** End Copyright Statement ***************************************************
20: package com.salmonllc.jsp;
21:
22: /////////////////////////
23: //$Archive: /SOFIA/SourceCode/com/salmonllc/jsp/Constants.java $
24: //$Author: Dan $
25: //$Revision: 18 $
26: //$Modtime: 9/01/04 3:21p $
27: /////////////////////////
28:
29: /**
30: * Constants for Jsp Components
31: */
32: public interface Constants {
33:
34: public static final String HREFSTYLE = "HREFSTYLE";
35: public static final String HOVERSTYLE = "HOVERSTYLE";
36: public static final String GROUPHREFSTYLE = "GROUPHREFSTYLE";
37: public static final String GROUPHOVERSTYLE = "GROUPHOVERSTYLE";
38: public static final String TEXTSTYLE = "TEXTSTYLE";
39: public static final String SELECTEDSTYLE = "SELECTEDSTYLE";
40: public static final String SELECTEDHOVERSTYLE = "SELECTEDHOVERSTYLE";
41: public static final String CELLBGSTYLE = "CELLBGSTYLE";
42: public static final String GROUPCELLBGSTYLE = "GROUPCELLBGSTYLE";
43: public static final String CELLHOVERBGSTYLE = "CELLHOVERBGSTYLE";
44: public static final String GROUPHOVERBGSTYLE = "GROUPHOVERBGSTYLE";
45: public static final String SELECTEDBGSTYLE = "SELECTEDBGSTYLE";
46: public static final String SELECTEDHOVERBGSTYLE = "SELECTEDHOVERBGSTYLE";
47: public static final String SHOWPOPUPSTYLE = "SHOWPOPUPSTYLE";
48: public static final String SHOWPOPUPHOVERSTYLE = "SHOWPOPUPHOVERSTYLE";
49: public static final String SHOWPOPUPSELECTEDSTYLE = "SHOWPOPUPSELECTEDSTYLE";
50: public static final String SHOWPOPUPSELECTEDHOVERSTYLE = "SHOWPOPUPSELECTEDHOVERSTYLE";
51: public static final String SHOWPOPUPBGSTYLE = "SHOWPOPUPBGSTYLE";
52: public static final String SUBCELLBGSTYLE = "SUBCELLBGSTYLE";
53: public static final String SUBHREFSTYLE = "SUBHREFSTYLE";
54: public static final String SUBHOVERSTYLE = "SUBHOVERSTYLE";
55: public static final String SUBCELLHOVERBGSTYLE = "SUBCELLHOVERBGSTYLE";
56: //
57: //NAVBARID PARAMETER PASSED IN THE GENERATE HTML OF THE NAVBAR. A NAVBARID=(navbaritem name) PARAMETER IS
58: //AUTOMATICALLY APPENDED TO EVERY HREF SET IN THE NAVBARITEM TAG.
59: public static final String NAVBARID = "NavBarId";
60:
61: //OPERATORS
62: public final static String EQUALS = "EQUALS";
63: public final static String NOT_EQUAL = "NOT_EQUAL";
64: public final static String GREATER_THAN = "GREATER_THAN";
65: public final static String GREATER_THAN_OR_EQUALS = "GREATER_THAN_OR_EQUALS";
66: public final static String LESS_THAN = "LESS_THAN";
67: public final static String LESS_THAN_OR_EQUALS = "LESS_THAN_OR_EQUALS";
68: public final static String OPER_EQUALS = "=";
69: public final static String OPER_NOT_EQUAL = "<>";
70: public final static String OPER_GREATER_THAN = ">";
71: public final static String OPER_GREATER_THAN_OR_EQUALS = ">=";
72: public final static String OPER_LESS_THAN = "<";
73: public final static String OPER_LESS_THAN_OR_EQUALS = "<=";
74:
75: // Transactional token support
76: public static final String TOKEN_KEY = "com.salmonllc.jsp.TOKEN";
77:
78: //Constants for Popup Windows positions
79: public static final String POPUP_POSITION_CENTER = "center";
80: public static final String POPUP_POSITION_RELATIVE = "relative";
81: public static final String POPUP_POSITION_CUSTOM = "custom";
82:
83: }
|