Package systole.view.imageFlow

Examples of systole.view.imageFlow.ImageFlowItem


        this.allSegments = slicer.sliceSignal(segment);
        Vector<Segment> slicedSegments = this.allSegments.getSegments();
        if ((slicedSegments != null) && (!slicedSegments.isEmpty())) {
            this.items = new Vector<ImageFlowItem>();
            this.images = new Vector<Image>();
            ImageFlowItem flowItem;
            XYChart thumb;
            this.selectionItems = new Vector<SelectionItem>();
            for (int i = 0; i < slicedSegments.size(); i++) {
                thumb = new XYChart("Segmento " + (i + 1));
                thumb.setShowLegend(false);
                thumb.addSeries("", slicedSegments.elementAt(i).toDoubleArray(), 1);
                flowItem = new ImageFlowItem(thumb.plotThumbnail(225, 225, false), "Segmento " + (i + 1));
                this.items.add(flowItem);
                thumb.setShowTitle(false);
                this.images.add(thumb.plotThumbnail(200, 150, false));
                this.selectionItems.add(new SelectionItem(i));
            }
View Full Code Here


            if ((sliced != null) && (!sliced.isEmpty())) {

                this.items = new Vector<ImageFlowItem>();
                this.images = new Vector<Image>();
                ImageFlowItem flowItem;
                XYChart thumb;
                for (int i = 0; i < sliced.size(); i++) {
                    thumb = new XYChart("Segmento " + (i + 1));
                    thumb.setShowLegend(false);
                    thumb.addSeries("", sliced.elementAt(i).toDoubleArray(), 1);
                    flowItem = new ImageFlowItem(thumb.plotThumbnail(225, 225, false), "Segmento " + (i + 1));
                    this.items.add(flowItem);
                    thumb.setShowTitle(false);
                    this.images.add(thumb.plotThumbnail(200, 150, false));
                    this.selectionItems.add(new SelectionItem(i));
                }
View Full Code Here

TOP

Related Classes of systole.view.imageFlow.ImageFlowItem

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.