color.java

来自「j2me下的1套UI框架.包含j2me开发中会应用的各种低级组件」· Java 代码 · 共 111 行

JAVA
111
字号
package com.jmobilecore.ui.core;

/**
 * The colors available to midlets.
 *
 * @author Greg Gridin
 */
public class Color {

    /**
     * "Transparent" color. This color is valid for Motorola handsets, but may not apply for all phones.
     */
    public static final int TRANSPARENT   = 0xFFFFFFFF;

    /**
     * The color white.
     */
    public static final int WHITE = 0xFEFEFE;

    /**
     * The color light gray.
     */
    public static final int LT_GRAY = 0xAAAAAA;

    /**
     * The color dark gray.
     */
    public static final int DK_GRAY = 0x555555;

    /**
     * The color black.
     */
    public static final int BLACK = 0x000000;

    /**
     * The color light red.
     */
    public static final int LT_RED = 0xFFAAAA;

    /**
     * The color dark red.
     */
    public static final int DK_RED = 0x550000;

    /**
     * The color red.
     */
    public static final int RED = 0xFF0000;

    /**
     * The color light green.
     */
    public static final int LT_GREEN = 0xAAFFAA;

    /**
     * The color dark green.
     */
    public static final int DK_GREEN = 0x005500;

    /**
     * The color green.
     */
    public static final int GREEN = 0x00FF00;

    /**
     * The color light blue.
     */
    public static final int LT_BLUE = 0xAAAAFF;

    /**
     * The color dark blue.
     */
    public static final int DK_BLUE = 0x000055;

    /**
     * The color blue.
     */
    public static final int BLUE = 0x0000FF;

    /**
     * The color light yellow.
     */
    public static final int LT_YELLOW =  0xFFFFAA;

    /**
     * The color yellow.
     */
    public static final int YELLOW =  0xFFFF00;

    /**
     * The color light cyan.
     */
    public static final int LT_CYAN =    0xAAFFFF;

    /**
     * The color cyan.
     */
    public static final int CYAN =    0x00FFFF;

    /**
     * The color light magenta.
     */
    public static final int LT_MAGENTA = 0xFFAAFF;

    /**
     * The color magenta.
     */
    public static final int MAGENTA = 0xFF00FF;

} // class Color

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?