Package com.lightcrafts.utils

Examples of com.lightcrafts.utils.SoftValueHashMap


        this.engine = engine;

        source = image;
        if (source != null) {
            backgroundCache = new SoftValueHashMap();
            source.addTileComputationListener(tileManager);
            // Swing geometry
            setPreferredSize(new Dimension(source.getWidth(), source.getHeight()));
        }
        setOpaque(true);
View Full Code Here


        validImageBackground = new boolean[maxTileX+1][maxTileY+1];

        synchronizedImage = synchronous;

        if (oldImage == null || !oldImage.getBounds().equals(image.getBounds())) {
            backgroundCache = new SoftValueHashMap();

            // Swing geometry
            Dimension dim = new Dimension(source.getWidth(), source.getHeight());
            setPreferredSize(dim);
        }
View Full Code Here

TOP

Related Classes of com.lightcrafts.utils.SoftValueHashMap

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.