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: *
035: */
036: public class ProgressBarSkin {
037:
038: /**
039: * This field corresponds to PBAR_ORIENT skin property.
040: * See its comment for further details.
041: */
042: public static int ORIENTATION;
043:
044: /**
045: * This field corresponds to PBAR_WIDTH skin property.
046: * See its comment for further details.
047: */
048: public static int WIDTH;
049:
050: /**
051: * This field corresponds to PBAR_HEIGHT skin property.
052: * See its comment for further details.
053: */
054: public static int HEIGHT;
055:
056: /**
057: * This field corresponds to PBAR_METER_X skin property.
058: * See its comment for further details.
059: */
060: public static int METER_X;
061:
062: /**
063: * This field corresponds to PBAR_METER_Y skin property.
064: * See its comment for further details.
065: */
066: public static int METER_Y;
067:
068: /**
069: * This field corresponds to PBAR_VALUE_X skin property.
070: * See its comment for further details.
071: */
072: public static int VALUE_X;
073:
074: /**
075: * This field corresponds to PBAR_VALUE_Y skin property.
076: * See its comment for further details.
077: */
078: public static int VALUE_Y;
079:
080: /**
081: * This field corresponds to PBAR_VALUE_WIDTH skin property.
082: * See its comment for further details.
083: */
084: public static int VALUE_WIDTH;
085:
086: /**
087: * This field corresponds to PBAR_IMAGE_BG skin property.
088: * See its comment for further details.
089: */
090: public static Image IMAGE_BG;
091:
092: /**
093: * This field corresponds to PBAR_IMAGE_MTR_EMPTY skin property.
094: * See its comment for further details.
095: */
096: public static Image IMAGE_METER_EMPTY;
097:
098: /**
099: * This field corresponds to PBAR_IMAGE_MTR_FULL skin property.
100: * See its comment for further details.
101: */
102: public static Image IMAGE_METER_FULL;
103:
104: /**
105: * This field corresponds to PBAR_IMAGE_VALUES skin property.
106: * See its comment for further details.
107: */
108: public static Image IMAGE_VALUES;
109:
110: /**
111: * This field corresponds to PBAR_IMAGE_PERCENTS skin property.
112: * See its comment for further details.
113: */
114: public static Image IMAGE_PERCENTS;
115:
116: // private constructor
117: private ProgressBarSkin() {
118: }
119:
120: }
|