Example usage for javafx.scene.control Tab getId

List of usage examples for javafx.scene.control Tab getId

Introduction

In this page you can find the example usage for javafx.scene.control Tab getId.

Prototype

@Override
public final String getId() 

Source Link

Document

The id of this tab.

Usage

From source file:de.micromata.mgc.javafx.launcher.gui.AbstractConfigDialog.java

public boolean removeTab(String id) {
    for (Tab tab : configurationTabs.getTabs()) {
        if (StringUtils.equals(tab.getId(), id) == true) {
            configurationTabs.getTabs().remove(tab);
            return true;
        }//from  w  w w  .  j a v a2  s .co m
    }
    return false;
}

From source file:de.micromata.mgc.javafx.launcher.gui.AbstractConfigDialog.java

public AbstractConfigTabController findConfigTabById(String id) {
    for (Tab tab : configurationTabs.getTabs()) {
        if (StringUtils.equals(tab.getId(), id) == true) {
            TabPane tabPane = tab.getTabPane();

        }//from   w w  w.j  a v a  2 s  . c  om
    }
    return null;
}