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

BusyCursorResources

public class BusyCursorResources extends Object

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

    
Methods Summary
public static voidload()

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

        if (init && !reload) {
            return;
        }
        
        BusyCursorSkin.WIDTH = SkinResources.getInt(
                SkinPropertiesIDs.BUSYCRSR_WIDTH);
        BusyCursorSkin.HEIGHT = SkinResources.getInt(
                SkinPropertiesIDs.BUSYCRSR_HEIGHT);
        BusyCursorSkin.NUM_FRAMES = SkinResources.getInt(
                SkinPropertiesIDs.BUSYCRSR_NUM_FRAMES);
        BusyCursorSkin.FRAME_X = SkinResources.getInt(
                SkinPropertiesIDs.BUSYCRSR_FRAME_X);
        BusyCursorSkin.FRAME_Y = SkinResources.getInt(
                SkinPropertiesIDs.BUSYCRSR_FRAME_Y);
        BusyCursorSkin.FRAME_SEQUENCE = SkinResources.getNumbersSequence(
                SkinPropertiesIDs.BUSYCRSR_FRAME_SEQU);
        BusyCursorSkin.IMAGE_BG = SkinResources.getImage(
                SkinPropertiesIDs.BUSYCRSR_IMAGE_BG);
        BusyCursorSkin.IMAGE_FRAME = SkinResources.getCompositeImage(
            SkinPropertiesIDs.BUSYCRSR_IMAGE_FRAME, 
            BusyCursorSkin.NUM_FRAMES);

        init = true;