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.Item;
031: import javax.microedition.lcdui.Image;
032: import javax.microedition.lcdui.Font;
033: import javax.microedition.lcdui.Graphics;
034:
035: /**
036: * StringItemSkin represents the properties and values used to render
037: * a StringItem in the javax.microedition.lcdui package.
038: */
039: public class StringItemSkin {
040:
041: /**
042: * This field corresponds to STRINGITEM_PAD_BUTTON_H skin property.
043: * See its comment for further details.
044: */
045: public static int PAD_BUTTON_H;
046:
047: /**
048: * This field corresponds to STRINGITEM_PAD_BUTTON_V skin property.
049: * See its comment for further details.
050: */
051: public static int PAD_BUTTON_V;
052:
053: /**
054: * This field corresponds to STRINGITEM_BUTTON_BORDER_W skin property.
055: * See its comment for further details.
056: */
057: public static int BUTTON_BORDER_W;
058:
059: /**
060: * This field corresponds to STRINGITEM_COLOR_FG_LNK skin property.
061: * See its comment for further details.
062: */
063: public static int COLOR_FG_LINK;
064:
065: /**
066: * This field corresponds to STRINGITEM_COLOR_FG_LNK_FOC skin property.
067: * See its comment for further details.
068: */
069: public static int COLOR_FG_LINK_FOCUS;
070:
071: /**
072: * This field corresponds to STRINGITEM_COLOR_BG_LNK_FOC skin property.
073: * See its comment for further details.
074: */
075: public static int COLOR_BG_LINK_FOCUS;
076:
077: /**
078: * This field corresponds to STRINGITEM_COLOR_FG_BTN skin property.
079: * See its comment for further details.
080: */
081: public static int COLOR_FG_BUTTON;
082:
083: /**
084: * This field corresponds to STRINGITEM_COLOR_BG_BTN skin property.
085: * See its comment for further details.
086: */
087: public static int COLOR_BG_BUTTON;
088:
089: /**
090: * This field corresponds to STRINGITEM_COLOR_BORDER_LT skin property.
091: * See its comment for further details.
092: */
093: public static int COLOR_BORDER_LT;
094:
095: /**
096: * This field corresponds to STRINGITEM_COLOR_BORDER_DK skin property.
097: * See its comment for further details.
098: */
099: public static int COLOR_BORDER_DK;
100:
101: /**
102: * This field corresponds to STRINGITEM_FONT skin property.
103: * See its comment for further details.
104: */
105: public static Font FONT;
106:
107: /**
108: * This field corresponds to STRINGITEM_FONT_LNK skin property.
109: * See its comment for further details.
110: */
111: public static Font FONT_LINK;
112:
113: /**
114: * This field corresponds to STRINGITEM_FONT_BTN skin property.
115: * See its comment for further details.
116: */
117: public static Font FONT_BUTTON;
118:
119: /**
120: * This field corresponds to STRINGITEM_IMAGE_LNK skin property.
121: * See its comment for further details.
122: */
123: public static Image IMAGE_LINK;
124:
125: /**
126: * This field corresponds to STRINGITEM_IMAGE_BTN skin property.
127: * See its comment for further details.
128: *
129: * A 'null' value for this array means there is no image background
130: * and a solid fill color and line border should be used.
131: */
132: public static Image[] IMAGE_BUTTON;
133:
134: // private constructor
135: private StringItemSkin() {
136: }
137:
138: }
|