919293949596979899100101
@Override public void run(Object... parameters) throws Exception { java.util.List<Point> res = new ArrayList<Point>(); for(TablePosition tp : (java.util.List<TablePosition>)getControl().getSelectionModel().getSelectedCells()) { res.add(new Point(tp.getColumn(), tp.getRow())); } setResult(res); } }.dispatch(getEnvironment()); }
303304305306307308309310311
} @Override public Focus focuser() { final Rectangle bounds = getScreenBounds(); return new FXClickFocus(this, new Point( Math.max(bounds.getWidth() / 2, bounds.getWidth() - 3), Math.max(bounds.getHeight() / 2, bounds.getHeight() - 3))); }