/** * In this configuration the table is inside the tabpane, * so we must go inside it to get the table * @return */ private FullTableViewController getTableController() { if(centerViewController instanceof StandardTabPaneController) { StandardTabPaneController tpc =(StandardTabPaneController) centerViewController; for(AbstractViewController c: tpc.getBuildedTabsController()) { if(c instanceof FullTableViewController) { return (FullTableViewController) c; } } } else { return (FullTableViewController) centerViewController; } return null; } }