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 javax.microedition.lcdui.Image;
029: import javax.microedition.lcdui.Font;
030:
031: /**
032: * A skin containing images and parameters related to the PTI bar.
033: */
034: public class PTISkin {
035:
036: /**
037: * This field corresponds to PTI_HEIGHT skin property.
038: * See its comment for further details.
039: */
040: public static int HEIGHT;
041:
042: /**
043: * This field corresponds to PTI_WIDTH skin property.
044: * See its comment for further details.
045: */
046: public static int WIDTH;
047:
048: /**
049: * This field corresponds to PTI_MARGIN skin property.
050: * See its comment for further details.
051: */
052: public static int MARGIN;
053:
054: /**
055: * This field corresponds to PTI_COLOR_BG skin property.
056: * See its comment for further details.
057: */
058: public static int COLOR_BG;
059:
060: /**
061: * This field corresponds to PTI_COLOR_FG skin property.
062: * See its comment for further details.
063: */
064: public static int COLOR_FG;
065:
066: /**
067: * This field corresponds to PTI_COLOR_FG_HL skin property.
068: * See its comment for further details.
069: */
070: public static int COLOR_FG_HL;
071:
072: /**
073: * This field corresponds to PTI_COLOR_BG_HL skin property.
074: * See its comment for further details.
075: */
076: public static int COLOR_BG_HL;
077:
078: /**
079: * This field corresponds to PTI_COLOR_BDR skin property.
080: * See its comment for further details.
081: */
082: public static int COLOR_BDR;
083:
084: /**
085: * This field corresponds to PTI_FONT skin property.
086: * See its comment for further details.
087: */
088: public static Font FONT;
089:
090: /**
091: * This field corresponds to PTI_IMAGE_BG skin property.
092: * See its comment for further details.
093: *
094: * A 'null' value for this array means there is no image background
095: * and a solid fill color should be used.
096: */
097: public static Image[] IMAGE_BG;
098:
099: /**
100: * This field corresponds to PTI_LEFT_ARROW skin property.
101: * See its comment for further details.
102: *
103: * A 'null' value for this parameter means there is no image for
104: * left indicator and it should not be used.
105: */
106: public static Image LEFT_ARROW;
107:
108: /**
109: * This field corresponds to PTI_RIGHT_ARROW skin property.
110: * See its comment for further details.
111: *
112: * A 'null' value for this parameter means there is no image for
113: * right indicator and it should not be used.
114: */
115: public static Image RIGHT_ARROW;
116:
117: /** private constructor */
118: private PTISkin() {
119: }
120: }
|