Examples of CoordinateConverterChooser


Examples of com.volantis.mcs.layouts.spatial.CoordinateConverterChooser

        // Iniitalise the CoordinateConverterChooser so that it can
        // be used to determine the correct CoordinateConverter
        NDimensionalIndex childIndex =
                formatInstance.getIndex().addDimension();
        CoordinateConverterChooser chooser =
                spatial.getCoordinateConverterChooser();
        IteratedFormatInstanceCounter instanceCounter =
                context.getInstanceCounter();

        int cells = instanceCounter.getMaxInstances(spatial, childIndex);

        // Determine the column direction.
        boolean reversed =
                DirectionHelper.isDirectionReversed(spatial, formatStyles);

        return chooser.chooseCoordinateConverter(cells, reversed);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.