Package org.eclipse.nebula.widgets.nattable.test.fixture.command

Examples of org.eclipse.nebula.widgets.nattable.test.fixture.command.ScrollSelectionCommandFixture


        assertEquals(0, this.viewportLayer.getRowCount());
    }

    @Test
    public void scrollVerticallyByAPageCommand() throws Exception {
        ScrollSelectionCommand scrollCommand = new ScrollSelectionCommandFixture();
        MoveSelectionCommand command = new MoveSelectionCommand(
                scrollCommand.getDirection(), this.viewportLayer.getRowCount(),
                scrollCommand.isShiftMask(), scrollCommand.isControlMask());

        assertEquals(MoveDirectionEnum.DOWN, command.getDirection());
        assertEquals(2, command.getStepSize().intValue());
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.test.fixture.command.ScrollSelectionCommandFixture

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.