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));
}