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 ticker bar.
033: */
034: public class TickerSkin {
035:
036: /**
037: * This field corresponds to TICKER_HEIGHT skin property.
038: * See its comment for further details.
039: */
040: public static int HEIGHT;
041:
042: /**
043: * This field corresponds to TICKER_ALIGN skin property.
044: * See its comment for further details.
045: */
046: public static int ALIGN;
047:
048: /**
049: * This field corresponds to TICKER_DIRECTION skin property.
050: * See its comment for further details.
051: */
052: public static int DIRECTION;
053:
054: /**
055: * This field corresponds to TICKER_RATE skin property.
056: * See its comment for further details.
057: */
058: public static int RATE;
059:
060: /**
061: * This field corresponds to TICKER_SPEED skin property.
062: * See its comment for further details.
063: */
064: public static int SPEED;
065:
066: /**
067: * This field corresponds to TICKER_TEXT_ANCHOR_Y skin property.
068: * See its comment for further details.
069: */
070: public static int TEXT_ANCHOR_Y;
071:
072: /**
073: * This field corresponds to TICKER_TEXT_SHD_ALIGN skin property.
074: * See its comment for further details.
075: */
076: public static int TEXT_SHD_ALIGN;
077:
078: /**
079: * This field corresponds to TICKER_COLOR_BG skin property.
080: * See its comment for further details.
081: */
082: public static int COLOR_BG;
083:
084: /**
085: * This field corresponds to TICKER_COLOR_FG skin property.
086: * See its comment for further details.
087: */
088: public static int COLOR_FG;
089:
090: /**
091: * This field corresponds to TICKER_COLOR_FG_SHD skin property.
092: * See its comment for further details.
093: */
094: public static int COLOR_FG_SHD;
095:
096: /**
097: * This field corresponds to TICKER_FONT skin property.
098: * See its comment for further details.
099: */
100: public static Font FONT;
101:
102: /**
103: * This field corresponds to TICKER_IMAGE_BG skin property.
104: * See its comment for further details.
105: *
106: * A 'null' value for this array means there is no image background
107: * and a solid fill color should be used.
108: */
109: public static Image[] IMAGE_BG;
110:
111: /**
112: * This field corresponds to TICKER_IMAGE_AU_BG skin property.
113: * See its comment for further details.
114: *
115: * A 'null' value for this array means there is no image background
116: * and a solid fill color should be used.
117: */
118: public static Image[] IMAGE_AU_BG;
119:
120: // private constructor
121: private TickerSkin() {
122: }
123: }
|