FileDocCategorySizeDatePackage
StringItemSkin.javaAPI DocphoneME MR2 API (J2ME)4233Wed May 02 18:00:20 BST 2007com.sun.midp.chameleon.skins

StringItemSkin.java

/*
 *  
 *
 * Copyright  1990-2007 Sun Microsystems, Inc. All Rights Reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version
 * 2 only, as published by the Free Software Foundation.
 * 
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License version 2 for more details (a copy is
 * included at /legal/license.txt).
 * 
 * You should have received a copy of the GNU General Public License
 * version 2 along with this work; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 * 
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
 * Clara, CA 95054 or visit www.sun.com if you need additional
 * information or have any questions.
 */
package com.sun.midp.chameleon.skins;

import com.sun.midp.chameleon.skins.resources.*;

import javax.microedition.lcdui.Item;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.Font;
import javax.microedition.lcdui.Graphics;

/**
 * StringItemSkin represents the properties and values used to render
 * a StringItem in the javax.microedition.lcdui package.
 */
public class StringItemSkin {
    
    /**
     * This field corresponds to STRINGITEM_PAD_BUTTON_H skin property.
     * See its comment for further details.
     */
    public static int PAD_BUTTON_H;

    /**
     * This field corresponds to STRINGITEM_PAD_BUTTON_V skin property.
     * See its comment for further details.
     */
    public static int PAD_BUTTON_V;

    /**
     * This field corresponds to STRINGITEM_BUTTON_BORDER_W skin property.
     * See its comment for further details.
     */
    public static int BUTTON_BORDER_W;

    /**
     * This field corresponds to STRINGITEM_COLOR_FG_LNK skin property.
     * See its comment for further details.
     */
    public static int COLOR_FG_LINK;

    /**
     * This field corresponds to STRINGITEM_COLOR_FG_LNK_FOC skin property.
     * See its comment for further details.
     */
    public static int COLOR_FG_LINK_FOCUS;

    /**
     * This field corresponds to STRINGITEM_COLOR_BG_LNK_FOC skin property.
     * See its comment for further details.
     */
    public static int COLOR_BG_LINK_FOCUS;

    /**
     * This field corresponds to STRINGITEM_COLOR_FG_BTN skin property.
     * See its comment for further details.
     */
    public static int COLOR_FG_BUTTON;

    /**
     * This field corresponds to STRINGITEM_COLOR_BG_BTN skin property.
     * See its comment for further details.
     */
    public static int COLOR_BG_BUTTON;

    /**
     * This field corresponds to STRINGITEM_COLOR_BORDER_LT skin property.
     * See its comment for further details.
     */
    public static int COLOR_BORDER_LT;

    /**
     * This field corresponds to STRINGITEM_COLOR_BORDER_DK skin property.
     * See its comment for further details.
     */
    public static int COLOR_BORDER_DK;

    /**
     * This field corresponds to STRINGITEM_FONT skin property.
     * See its comment for further details.
     */
    public static Font FONT;

    /**
     * This field corresponds to STRINGITEM_FONT_LNK skin property.
     * See its comment for further details.
     */
    public static Font FONT_LINK;

    /**
     * This field corresponds to STRINGITEM_FONT_BTN skin property.
     * See its comment for further details.
     */
    public static Font FONT_BUTTON;

    /**
     * This field corresponds to STRINGITEM_IMAGE_LNK skin property.
     * See its comment for further details.
     */
    public static Image IMAGE_LINK;

    /**
     * This field corresponds to STRINGITEM_IMAGE_BTN skin property.
     * See its comment for further details.
     *
     * A 'null' value for this array means there is no image background
     * and a solid fill color and line border should be used.
     */
    public static Image[] IMAGE_BUTTON;

    // private constructor
    private StringItemSkin() {
    }
        
}