Пример #1
0
  // [2007/6/4 Rain Chen]
  // added doubleClickCell which execute the double click cell action
  public void doubleClickCell(String rowValue, int col) {
    int rowIndex = getRowIndexByName(rowValue, col);
    System.out.println(rowIndex);
    checkColArgument(col);
    Cell cell = new Cell(new Row(new Index(rowIndex)), new Column(new Index(col)));

    java.awt.Point p = new Point();
    p.x = 16;
    p.y = 3;
    _Table.doubleClick(cell, p);
  }
Пример #2
0
 // [2007/6/4 Rain Chen]
 // Change clickCell to doubleClickCell, because inside the method it calls
 // _Table.doubleClick(cell)
 // please change your code to doubleClickCell(xx,xx) if you need double
 // click a cell.
 public void doubleClickCell(int row, String colName) {
   int col = getColumnIndexByName(colName);
   Cell cell = new Cell(new Row(new Index(row)), new Column(new Index(col)));
   _Table.doubleClick(cell);
 }
Пример #3
0
 public void doubleClickCell(int row, int col) {
   Cell cell = new Cell(new Row(new Index(row)), new Column(new Index(col)));
   _Table.doubleClick(cell);
 }