Package csa.jmom.grafics

Examples of csa.jmom.grafics.ImageSequenceDataPool


   
    void setMouseTile(TileData tileData, ImageComponent work)
    {       

        work.setVisible(false);
        ImageSequenceDataPool mImageSequenceDataPool;
       
        String name = "Grafics"+File.separator+tileData.getImageDataFile();
        mImageSequenceDataPool = new ImageSequenceDataPool(name);
       
        ImageSequenceData mData = mImageSequenceDataPool.get(tileData.getImageDataName());
       
        Vector<Image> images = new Vector<Image>();

        Vector <BaseImageData> mBData = BaseImageData.toBase(mData);
        for (int i = 0; i < mBData.size(); i++)
View Full Code Here


    // End of variables declaration//GEN-END:variables
    boolean getPool()
    {
        String name = jTextFieldFile.getText()+".xml";
        if (name.trim().length() == 0) return false;
        mImageSequenceDataPool = new ImageSequenceDataPool(name);
        return true;
    }
View Full Code Here

        POOLMAP = new HashMap <String, ImageSequenceDataPool>();
       
    }
    private static ImageSequenceDataPool getPool(String name)
    {
        ImageSequenceDataPool pool=POOLMAP.get(name);
        if (pool == null)
        {
            pool = new ImageSequenceDataPool(name);
            POOLMAP.put(name, pool);
        }
        return pool;
    }
View Full Code Here

        init();
    }
    private void init()
    {
        String name = "Grafics"+File.separator+data.getImageDataFile();
        ImageSequenceDataPool pool = getPool(name);
        ImageSequenceData mData = pool.get(data.getImageDataName());
       
        images = new ArrayList<BufferedImage>();
        delay = mData.getDelay();

        Vector <BaseImageData> mBData = BaseImageData.toBase(mData, scale);
View Full Code Here

    // End of variables declaration//GEN-END:variables
    boolean getPool()
    {
        String name = "Grafics"+File.separator+jTextFieldFile.getText()+".xml";
        if (name.trim().length() == 0) return false;
        mImageSequenceDataPool = new ImageSequenceDataPool(name);
        return true;
    }
View Full Code Here

TOP

Related Classes of csa.jmom.grafics.ImageSequenceDataPool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.