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

UpdateBarResources

public class UpdateBarResources extends Object

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

    
Methods Summary
public static voidload()

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

        if (init && !reload) {
            return;
        }
        
        UpdateBarSkin.WIDTH = SkinResources.getInt(
                SkinPropertiesIDs.UPDATEBAR_WIDTH);
        UpdateBarSkin.HEIGHT = SkinResources.getInt(
                SkinPropertiesIDs.UPDATEBAR_HEIGHT);
        UpdateBarSkin.NUM_FRAMES = SkinResources.getInt(
                SkinPropertiesIDs.UPDATEBAR_NUM_FRAMES);
        UpdateBarSkin.FRAME_X = SkinResources.getInt(
                SkinPropertiesIDs.UPDATEBAR_FRAME_X);
        UpdateBarSkin.FRAME_Y = SkinResources.getInt(
                SkinPropertiesIDs.UPDATEBAR_FRAME_Y);
        UpdateBarSkin.FRAME_SEQUENCE = SkinResources.getNumbersSequence(
                SkinPropertiesIDs.UPDATEBAR_FRAME_SEQU);
        UpdateBarSkin.IMAGE_BG = SkinResources.getImage(
                SkinPropertiesIDs.UPDATEBAR_IMAGE_BG);
        UpdateBarSkin.IMAGE_FRAME = SkinResources.getCompositeImage(
            SkinPropertiesIDs.UPDATEBAR_IMAGE_FRAME,
            UpdateBarSkin.NUM_FRAMES);

        init = true;