001: /*
002: *
003: *
004: * Copyright 1990-2007 Sun Microsystems, Inc. All Rights Reserved.
005: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
006: *
007: * This program is free software; you can redistribute it and/or
008: * modify it under the terms of the GNU General Public License version
009: * 2 only, as published by the Free Software Foundation.
010: *
011: * This program is distributed in the hope that it will be useful, but
012: * WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * General Public License version 2 for more details (a copy is
015: * included at /legal/license.txt).
016: *
017: * You should have received a copy of the GNU General Public License
018: * version 2 along with this work; if not, write to the Free Software
019: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
020: * 02110-1301 USA
021: *
022: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
023: * Clara, CA 95054 or visit www.sun.com if you need additional
024: * information or have any questions.
025: */
026: package com.sun.midp.chameleon.skins;
027:
028: import com.sun.midp.chameleon.skins.resources.*;
029:
030: import javax.microedition.lcdui.Image;
031: import javax.microedition.lcdui.Font;
032:
033: /**
034: * DateEditorSkin represents the properties and values used to render
035: * the popup editor for the DateField component in the
036: * javax.microedition.lcdui package.
037: */
038: public class DateEditorSkin {
039:
040: /**
041: * This field corresponds to DATEEDITOR_HEIGHT skin property.
042: * See its comment for further details.
043: */
044: public static int HEIGHT;
045:
046: /**
047: * This field corresponds to DATEEDITOR_HEIGHT_POPUPS skin property.
048: * See its comment for further details.
049: */
050: public static int HEIGHT_POPUPS;
051:
052: /**
053: * This field corresponds to DATEEDITOR_WIDTH_D skin property.
054: * See its comment for further details.
055: */
056: public static int WIDTH_DATE;
057:
058: /**
059: * This field corresponds to DATEEDITOR_WIDTH_T skin property.
060: * See its comment for further details.
061: */
062: public static int WIDTH_TIME;
063:
064: /**
065: * This field corresponds to DATEEDITOR_WIDTH_DT skin property.
066: * See its comment for further details.
067: */
068: public static int WIDTH_DATETIME;
069:
070: /**
071: * This field corresponds to DATEEDITOR_COLOR_BG skin property.
072: * See its comment for further details.
073: */
074: public static int COLOR_BG;
075:
076: /**
077: * This field corresponds to DATEEDITOR_COLOR_POPUPS_BG skin property.
078: * See its comment for further details.
079: */
080: public static int COLOR_POPUPS_BG;
081:
082: /**
083: * This field corresponds to DATEEDITOR_COLOR_BRDR skin property.
084: * See its comment for further details.
085: */
086: public static int COLOR_BORDER;
087:
088: /**
089: * This field corresponds to DATEEDITOR_COLOR_TRAV_IND skin property.
090: * See its comment for further details.
091: */
092: public static int COLOR_TRAVERSE_IND;
093:
094: /**
095: * This field corresponds to DATEEDITOR_COLOR_CLK_LT skin property.
096: * See its comment for further details.
097: */
098: public static int COLOR_CLOCKHAND_LT;
099:
100: /**
101: * This field corresponds to DATEEDITOR_COLOR_CLK_DK skin property.
102: * See its comment for further details.
103: */
104: public static int COLOR_CLOCKHAND_DK;
105:
106: /**
107: * This field corresponds to DATEEDITOR_FONT_POPUPS skin property.
108: * See its comment for further details.
109: */
110: public static Font FONT_POPUPS;
111:
112: /**
113: * This field corresponds to DATEEDITOR_IMAGE_BG skin property.
114: * See its comment for further details.
115: */
116: public static Image[] IMAGE_BG;
117:
118: /**
119: * This field corresponds to DATEEDITOR_IMAGE_MON_BG skin property.
120: * See its comment for further details.
121: */
122: public static Image IMAGE_MONTH_BG;
123:
124: /**
125: * This field corresponds to DATEEDITOR_IMAGE_YR_BG skin property.
126: * See its comment for further details.
127: */
128: public static Image IMAGE_YEAR_BG;
129:
130: /**
131: * This field corresponds to DATEEDITOR_IMAGE_CAL_BG skin property.
132: * See its comment for further details.
133: */
134: public static Image IMAGE_CAL_BG;
135:
136: /**
137: * This field corresponds to DATEEDITOR_IMAGE_DATES skin property.
138: * See its comment for further details.
139: */
140: public static Image IMAGE_DATES;
141:
142: /**
143: * This field corresponds to DATEEDITOR_IMAGE_TIME_BG skin property.
144: * See its comment for further details.
145: */
146: public static Image IMAGE_TIME_BG;
147:
148: /**
149: * This field corresponds to DATEEDITOR_IMAGE_RADIO skin property.
150: * See its comment for further details.
151: */
152: public static Image[] IMAGE_RADIO;
153:
154: /**
155: * This field corresponds to DATEEDITOR_IMAGE_AMPM skin property.
156: * See its comment for further details.
157: */
158: public static Image IMAGE_AMPM;
159:
160: /**
161: * This field corresponds to DATEEDITOR_IMAGE_CLOCK_BG skin property.
162: * See its comment for further details.
163: */
164: public static Image IMAGE_CLOCK_BG;
165:
166: // private constructor
167: private DateEditorSkin() {
168: }
169:
170: }
|