Examples of scrollToRow()


Examples of com.smartgwt.client.widgets.grid.ListGrid.scrollToRow()

        Criteria criteria = getCurrentCriteria();
        listGrid.setCriteria(criteria);

        if (resetPaging) {
            listGrid.scrollToRow(0);
        }

        // Only call invalidateCache() and fetchData() if the ListGrid is backed by a DataSource.
        if (listGrid.getDataSource() != null) {
            // Invalidate the cached records - if listGrid.getAutoFetchData() is true, this will cause the ListGrid to
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.test.fixture.NatTableFixture.scrollToRow()

                }, 600, 120);
        LayerListenerFixture natTableListener = new LayerListenerFixture();
        natTable.addLayerListener(natTableListener);

        // Scroll to position 15 in grid/15 in body
        natTable.scrollToRow(15);
        assertEquals(15, natTable.getRowIndexByPosition(1));

        // Hide last row - position 5/index 19
        assertEquals(19, natTable.getRowIndexByPosition(5));
        natTable.doCommand(new RowHideCommand(natTable, 5));
View Full Code Here

Examples of org.netbeans.jemmy.operators.JTreeOperator.scrollToRow()

        final Timeout clickTime = oper.getTimeouts().create("ComponentOperator.MouseClickTimeout");
        QueueTool qt = new QueueTool();
        for(int i = 0; i < indices.length; i++) {
            final int index = i;
            if(!queueTool.isDispatchThread()) {
                toper.scrollToRow(indices[i]);
            }
            final Point p = toper.getPointToClick(indices[index]);
            queueTool.invokeSmoothly(new QueueTool.QueueAction("Path selecting") {
                    public Object launch() {
                        mdriver.clickMouse(oper, p.x, p.y, 1, Operator.getDefaultMouseButton(),
View Full Code Here

Examples of org.netbeans.jemmy.operators.JTreeOperator.scrollToRow()

        final JTreeOperator toper = (JTreeOperator)oper;
        final Timeout clickTime = oper.getTimeouts().create("ComponentOperator.MouseClickTimeout");
        for(int i = 0; i < indices.length; i++) {
            final int index = i;
            if(!queueTool.isDispatchThread()) {
                toper.scrollToRow(indices[i]);
            }
            final Point p = toper.getPointToClick(indices[index]);
            queueTool.invokeSmoothly(new QueueTool.QueueAction("Path selecting") {
                    public Object launch() {
                        mdriver.clickMouse(oper, p.x, p.y, 1, Operator.getDefaultMouseButton(),
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.