Package org.eclipse.nebula.widgets.nattable.reorder.event

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


        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

     *            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

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

        fireLayerEvent(new RowReorderEvent(this, fromRowPositions,
                toRowPosition, reorderToTopEdge));
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.reorder.event.RowReorderEvent

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.