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: * DateFieldSkin represents the properties and values used to render
035: * DateField and DateEditor in the javax.microedition.lcdui package.
036: */
037: public class DateFieldSkin {
038:
039: /**
040: * This field corresponds to DATEFIELD_PAD_H skin property.
041: * See its comment for further details.
042: */
043: public static int PAD_H;
044:
045: /**
046: * This field corresponds to DATEFIELD_PAD_V skin property.
047: * See its comment for further details.
048: */
049: public static int PAD_V;
050:
051: /**
052: * This field corresponds to DATEFIELD_BTN_BRDR_W skin property.
053: * See its comment for further details.
054: */
055: public static int BUTTON_BORDER_W;
056:
057: /**
058: * This field corresponds to DATEFIELD_FONT skin property.
059: * See its comment for further details.
060: */
061: public static Font FONT;
062:
063: /**
064: * This field corresponds to DATEFIELD_COLOR_FG skin property.
065: * See its comment for further details.
066: */
067: public static int COLOR_FG;
068:
069: /**
070: * This field corresponds to DATEFIELD_COLOR_BG skin property.
071: * See its comment for further details.
072: */
073: public static int COLOR_BG;
074:
075: /**
076: * This field corresponds to DATEFIELD_COLOR_BRDR skin property.
077: * See its comment for further details.
078: */
079: public static int COLOR_BORDER;
080:
081: /**
082: * This field corresponds to DATEFIELD_COLOR_BRDR_LT skin property.
083: * See its comment for further details.
084: */
085: public static int COLOR_BORDER_LT;
086:
087: /**
088: * This field corresponds to DATEFIELD_COLOR_BRDR_DK skin property.
089: * See its comment for further details.
090: */
091: public static int COLOR_BORDER_DK;
092:
093: /**
094: * This field corresponds to DATEFIELD_COLOR_BRDR_SHD skin property.
095: * See its comment for further details.
096: */
097: public static int COLOR_BORDER_SHD;
098:
099: /**
100: * This field corresponds to DATEFIELD_IMAGE_BG skin property.
101: * See its comment for further details.
102: *
103: * A 'null' value for this array means there is no image background
104: * and a solid fill color should be used.
105: */
106: public static Image[] IMAGE_BG;
107:
108: /**
109: * This field corresponds to DATEFIELD_IMAGE_BTN_BG skin property.
110: * See its comment for further details.
111: *
112: * A 'null' value for this array means there is no image background
113: * and a solid fill color should be used.
114: */
115: public static Image[] IMAGE_BUTTON_BG;
116:
117: /**
118: * This field corresponds to DATEFIELD_IMAGE_ICON_DATE skin property.
119: * See its comment for further details.
120: */
121: public static Image IMAGE_ICON_DATE;
122:
123: /**
124: * This field corresponds to DATEFIELD_IMAGE_ICON_TIME skin property.
125: * See its comment for further details.
126: */
127: public static Image IMAGE_ICON_TIME;
128:
129: /**
130: * This field corresponds to DATEFIELD_IMAGE_ICON_DATETIME skin property.
131: * See its comment for further details.
132: */
133: public static Image IMAGE_ICON_DATETIME;
134:
135: // private constructor
136: private DateFieldSkin() {
137: }
138:
139: }
|