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

DateEditorResources

public class DateEditorResources extends Object

Fields Summary
private static boolean
init
Constructors Summary
private DateEditorResources()

    
Methods Summary
public static voidload()

        load(false);
    
public static voidload(boolean reload)

        if (init && !reload) {
            return;
        }
        
        DateEditorSkin.HEIGHT = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_HEIGHT);
        DateEditorSkin.HEIGHT_POPUPS = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_HEIGHT_POPUPS);
        DateEditorSkin.WIDTH_DATE = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_WIDTH_D);
        DateEditorSkin.WIDTH_TIME = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_WIDTH_T);
        DateEditorSkin.WIDTH_DATETIME = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_WIDTH_DT);
        DateEditorSkin.COLOR_BG = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_COLOR_BG);
        DateEditorSkin.COLOR_POPUPS_BG = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_COLOR_POPUPS_BG);
        DateEditorSkin.COLOR_BORDER = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_COLOR_BRDR);
        DateEditorSkin.COLOR_TRAVERSE_IND = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_COLOR_TRAV_IND);
        DateEditorSkin.COLOR_CLOCKHAND_LT = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_COLOR_CLK_LT);
        DateEditorSkin.COLOR_CLOCKHAND_DK = SkinResources.getInt(
                SkinPropertiesIDs.DATEEDITOR_COLOR_CLK_DK);
        DateEditorSkin.FONT_POPUPS = SkinResources.getFont(
                SkinPropertiesIDs.DATEEDITOR_FONT_POPUPS);
        /*
        Uncomment if background image is used
        DateEditorSkin.IMAGE_BG = SkinResources.getCompositeImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_BG, 9);
        */
        DateEditorSkin.IMAGE_MONTH_BG = SkinResources.getImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_MON_BG);
        DateEditorSkin.IMAGE_YEAR_BG = SkinResources.getImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_YR_BG);
        DateEditorSkin.IMAGE_CAL_BG = SkinResources.getImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_CAL_BG);
        DateEditorSkin.IMAGE_DATES = SkinResources.getImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_DATES);
        DateEditorSkin.IMAGE_TIME_BG = SkinResources.getImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_TIME_BG);
        DateEditorSkin.IMAGE_RADIO = SkinResources.getCompositeImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_RADIO, 2);
        DateEditorSkin.IMAGE_AMPM = SkinResources.getImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_AMPM);
        DateEditorSkin.IMAGE_CLOCK_BG = SkinResources.getImage(
                SkinPropertiesIDs.DATEEDITOR_IMAGE_CLOCK_BG);

        init = true;