Constants.java
资源名称:src.zip [点击查看]
上传用户:luxiaowei
上传日期:2022-06-06
资源大小:58k
文件大小:2k
源码类别:
J2ME
开发平台:
Java
- /*
- * Constants.java
- *
- * Created on April 22, 2010, 6:11 PM
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
- */
- package com.MOM;
- import com.framework.HorizontalLayout;
- import com.framework.ListLayout;
- import javax.microedition.lcdui.Graphics;
- /**
- *
- * @author Tejaswi
- */
- public interface Constants {
- /** Constant declreation */
- public static final int LEFT_PADDING = 4;
- public static final int TOP_PADDING = 4;
- public static final int CONTROLS_SELECTION_BORDER_COLOR = 0x558ED5;
- public static final int RADIO_CONTROL_CIRCLE_BORDER_COLOR = 0X9daeb8;
- public static final int BLUE_LABLE_BG_COLOR = 0X4277AD;
- public static final int BLUE_LABLE_BORDER_COLOR = 0X1A5189;
- public static final int LEFT_ARROW_WIDTH = 4;
- public static final int RIGHT_ARROW_PADDING = 6;
- /** String constant declreations */
- public static final String EXIT_STRING = "Exit";
- public static final String MARKET_STRING = "Market";
- public static final String NEWS_CENTER_STRING = "News Center";
- public static final String PORTFOLIO_STRING = "Portfolio";
- public static final String PREMIUM_ALERTS_STRING = "Premium Alerts";
- public static final String SEARCH_STRING = "Search";
- public static final String[] SEARCH_RADIO_BUTTONS = {"Stock" , "MF" , "F&O"};
- public static final String RIGHT_ARROW_TEXT = ">>";
- public static final String GLOBAL_MARKET_UPDATE_STRING = "Global Market Update";
- public static final String TOP_NEWS_LABEL = "Top News";
- public static final String PRE_MARKET_STRING = "Pre Market";
- /** Layout declreations */
- public static final ListLayout TAB_PANE_LIST_LAYOUT = new ListLayout(0 , 0 , 1 , Graphics.LEFT);
- public static final ListLayout LIST_LAYOUT_01 = new ListLayout(0 , 0 , -1 , Graphics.LEFT);
- public static final HorizontalLayout HORIZONAL_LAYOUT_01 = new HorizontalLayout(HorizontalLayout.STRETCH_NONE , LEFT_PADDING,TOP_PADDING,LEFT_PADDING);
- public static final HorizontalLayout HORIZONAL_LAYOUT_02 = new HorizontalLayout(HorizontalLayout.STRETCH_EQUAL , 0,0,0);
- }