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