01: /*
02: * Copyright Javelin Software, All rights reserved.
03: */
04:
05: package com.javelin.swinglets;
06:
07: import java.awt.*;
08: import java.util.*;
09: import java.io.*;
10:
11: /**
12: * SConstants defines Servlet Constants.
13: *
14: * @author Robin Sharp
15: */
16:
17: import java.awt.*;
18: import java.io.*;
19: import java.util.*;
20:
21: public class SConstants {
22: /**
23: * The key that is used to define the source frame.
24: */
25: public static String SOURCE_CONTAINER = "_SRC_CON";
26:
27: /**
28: * The key that is used to define the source component of the action.
29: */
30: public static String SOURCE_COMPONENT = "_SRC_COM";
31:
32: /**
33: * The key that is used to define the target component.
34: */
35: public static String TARGET_COMPONENT = "_TGT_COM";
36:
37: /**
38: * The key that is used to define an image names.
39: */
40: public static String IMAGE_NAME = "_IMG_NAM";
41:
42: public static final int HORIZONTAL = 0;
43: public static final int VERTICAL = 1;
44:
45: public final static int DEFAULT = 0;
46:
47: public static final int TOP = 1;
48: public static final int CENTER = 2;
49: public static final int LEFT = 4;
50: public static final int BOTTOM = 8;
51: public static final int MIDDLE = 16;
52: public static final int RIGHT = 32;
53:
54: public final static String REAL_PATH = "_REAL_PATH";
55: public final static String IMAGE_PATH = "_IMAGE_PATH";
56:
57: // PRIVATE ////////////////////////////////////////////////////
58:
59: protected static String imagePath;
60: protected static String realPath = "";
61: protected static String servletRunner;
62:
63: }
|