Examples of RowReorderEvent


Examples of org.eclipse.nebula.widgets.nattable.reorder.event.RowReorderEvent

        expectedPositions.add(new Rectangle(0, 0, 20, 20));

        reorderLayer.addLayerListener(new ILayerListener() {
            @Override
            public void handleLayerEvent(ILayerEvent event) {
                RowReorderEvent multiReorder = (RowReorderEvent) event;
                assertTrue(multiReorder.getChangedPositionRectangles()
                        .containsAll(expectedPositions));
            }
        });

        // Reorder to beginning of grid
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.reorder.event.RowReorderEvent

        expectedPositions.add(new Rectangle(0, 0, 20, 20));

        reorderLayer.addLayerListener(new ILayerListener() {
            @Override
            public void handleLayerEvent(ILayerEvent event) {
                RowReorderEvent multiReorder = (RowReorderEvent) event;
                assertTrue(multiReorder.getChangedPositionRectangles()
                        .containsAll(expectedPositions));
            }
        });

        // Reorder from beginning of grid
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.reorder.event.RowReorderEvent

     *            not
     */
    public void reorderRowPosition(int fromRowPosition, int toRowPosition,
            boolean reorderToTopEdge) {
        moveRow(fromRowPosition, toRowPosition, reorderToTopEdge);
        fireLayerEvent(new RowReorderEvent(this, fromRowPosition,
                toRowPosition, reorderToTopEdge));
    }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.reorder.event.RowReorderEvent

                moveRow(fromRowPositionInt, targetRowPosition++,
                        reorderToTopEdge);
            }
        }

        fireLayerEvent(new RowReorderEvent(this, fromRowPositions,
                toRowPosition, reorderToTopEdge));
    }
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.