private StackPane getTabRegion() { TabPane n = (TabPane) parent.getComponent(); StackPane node = (StackPane) n.lookup(".headers-region"); return (StackPane) node.getChildren().get(tabIndex); }
@Override public String _getText() { return getTextForTab( (TabPane) parent.getComponent(), ((TabPane) parent.getComponent()).getTabs().get(tabIndex)); }