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.Graphics;
032:
033: /**
034: * GaugeSkin represents the properties and values used to render
035: * a Gauge in the javax.microedition.lcdui package.
036: */
037: public class GaugeSkin {
038:
039: /**
040: * This field corresponds to GAUGE_ORIENT skin property.
041: * See its comment for further details.
042: */
043: public static int ORIENTATION;
044:
045: /**
046: * This field corresponds to GAUGE_WIDTH skin property.
047: * See its comment for further details.
048: */
049: public static int WIDTH;
050:
051: /**
052: * This field corresponds to GAUGE_HEIGHT skin property.
053: * See its comment for further details.
054: */
055: public static int HEIGHT;
056:
057: /**
058: * This field corresponds to GAUGE_METER_X skin property.
059: * See its comment for further details.
060: */
061: public static int METER_X;
062:
063: /**
064: * This field corresponds to GAUGE_METER_Y skin property.
065: * See its comment for further details.
066: */
067: public static int METER_Y;
068:
069: /**
070: * This field corresponds to GAUGE_INC_BTN_X skin property.
071: * See its comment for further details.
072: */
073: public static int INC_BTN_X;
074:
075: /**
076: * This field corresponds to GAUGE_INC_BTN_Y skin property.
077: * See its comment for further details.
078: */
079: public static int INC_BTN_Y;
080:
081: /**
082: * This field corresponds to GAUGE_DEC_BTN_X skin property.
083: * See its comment for further details.
084: */
085: public static int DEC_BTN_X;
086:
087: /**
088: * This field corresponds to GAUGE_DEC_BTN_Y skin property.
089: * See its comment for further details.
090: */
091: public static int DEC_BTN_Y;
092:
093: /**
094: * This field corresponds to GAUGE_VALUE_X skin property.
095: * See its comment for further details.
096: */
097: public static int VALUE_X;
098:
099: /**
100: * This field corresponds to GAUGE_VALUE_Y skin property.
101: * See its comment for further details.
102: */
103: public static int VALUE_Y;
104:
105: /**
106: * This field corresponds to GAUGE_VALUE_WIDTH skin property.
107: * See its comment for further details.
108: */
109: public static int VALUE_WIDTH;
110:
111: /**
112: * This field corresponds to GAUGE_IMAGE_BG skin property.
113: * See its comment for further details.
114: */
115: public static Image IMAGE_BG;
116:
117: /**
118: * This field corresponds to GAUGE_IMAGE_MTR_EMPTY skin property.
119: * See its comment for further details.
120: */
121: public static Image IMAGE_METER_EMPTY;
122:
123: /**
124: * This field corresponds to GAUGE_IMAGE_MTR_FULL skin property.
125: * See its comment for further details.
126: */
127: public static Image IMAGE_METER_FULL;
128:
129: /**
130: * This field corresponds to GAUGE_INC_BTN skin property.
131: * See its comment for further details.
132: */
133: public static Image IMAGE_INC_BTN;
134:
135: /**
136: * This field corresponds to GAUGE_DEC_BTN skin property.
137: * See its comment for further details.
138: */
139: public static Image IMAGE_DEC_BTN;
140:
141: /**
142: * This field corresponds to GAUGE_IMAGE_VALUES skin property.
143: * See its comment for further details.
144: */
145: public static Image IMAGE_VALUES;
146:
147: // private constructor
148: private GaugeSkin() {
149: }
150:
151: }
|