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

ProgressBarResources

public class ProgressBarResources extends Object

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

    
Methods Summary
public static voidload()

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

        if (init && !reload) {
            return;
        }
        
        ProgressBarSkin.ORIENTATION = SkinResources.getInt(
                SkinPropertiesIDs.PBAR_ORIENT);
        ProgressBarSkin.WIDTH = SkinResources.getInt(
                SkinPropertiesIDs.PBAR_WIDTH);
        ProgressBarSkin.HEIGHT = SkinResources.getInt(
                SkinPropertiesIDs.PBAR_HEIGHT);
        ProgressBarSkin.METER_X = SkinResources.getInt(
                SkinPropertiesIDs.PBAR_METER_X);
        ProgressBarSkin.METER_Y = SkinResources.getInt(
                SkinPropertiesIDs.PBAR_METER_Y);
        ProgressBarSkin.VALUE_X = SkinResources.getInt(
                SkinPropertiesIDs.PBAR_VALUE_X);
        ProgressBarSkin.VALUE_Y = SkinResources.getInt(
                SkinPropertiesIDs.PBAR_VALUE_Y);
        ProgressBarSkin.VALUE_WIDTH = SkinResources.getInt(
                SkinPropertiesIDs.PBAR_VALUE_WIDTH);
        ProgressBarSkin.IMAGE_BG = SkinResources.getImage(
                SkinPropertiesIDs.PBAR_IMAGE_BG);
        ProgressBarSkin.IMAGE_METER_EMPTY = SkinResources.getImage(
                SkinPropertiesIDs.PBAR_IMAGE_MTR_EMPTY);
        ProgressBarSkin.IMAGE_METER_FULL = SkinResources.getImage(
                SkinPropertiesIDs.PBAR_IMAGE_MTR_FULL);
        ProgressBarSkin.IMAGE_VALUES = SkinResources.getImage(
                SkinPropertiesIDs.PBAR_IMAGE_VALUES);
        ProgressBarSkin.IMAGE_PERCENTS = SkinResources.getImage(
                SkinPropertiesIDs.PBAR_IMAGE_PERCENTS);
            
        init = true;