Examples of selectTableRows()


Examples of jsky.navigator.Navigator.selectTableRows()

     * @throws Exception on error
     */
    protected void tableHighlightRow(String tableId, URL url, int row) throws Exception {
        Navigator navigator = _imageFrame.getNavigator();
        if (navigator != null) {
            navigator.selectTableRows(tableId, url, new int[]{row});
        }
    }

    /**
     * Selects a list of rows of an identified table by row index. The table to operate on is identified by one or both
View Full Code Here

Examples of jsky.navigator.Navigator.selectTableRows()

        if (navigator != null) {
            int[] rows = new int[rowList.size()];
            for (int i = 0; i < rows.length; i++) {
                rows[i] = Integer.parseInt(rowList.get(i));
            }
            navigator.selectTableRows(tableId, url, rows);
        }
    }

    /**
     * Directs attention (e.g. by moving a cursor or shifting the field of view) to a given
View Full Code Here

Examples of jsky.navigator.Navigator.selectTableRows()

                int[] rows = new int[rowList.size()];
                for (int i = 0; i < rows.length; i++) {
                    // should actually be a number
                    rows[i] = Integer.parseInt(rowList.get(i).toString());
                }
                navigator.selectTableRows(tableId, null, rows);
            }
            return Boolean.TRUE;
        }

        /* Highlight a single row. */
 
View Full Code Here

Examples of jsky.navigator.Navigator.selectTableRows()

                args.get(1) instanceof Number) {
            String tableId = args.get(0).toString();
            int irow = ((Number) args.get(1)).intValue();
            Navigator navigator = _imageFrame.getNavigator();
            if (navigator != null) {
                navigator.selectTableRows(tableId, null, new int[]{irow});
            }
            return Boolean.TRUE;
        }

        /* Get the icon for this application. */
 
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.