Search in sources :

Example 1 with TabsPanel

use of org.dominokit.domino.ui.tabs.TabsPanel in project playshogi by Tellmarch.

the class UploadKifusPopup method createGameCollectionsForm.

private Node createGameCollectionsForm() {
    Tab newTab = createNewGameCollectionTab();
    Tab existingTab = createExistingGameCollectionTab();
    TabsPanel tabsPanel = TabsPanel.create();
    if (enableNewGameCollection) {
        tabsPanel.appendChild(newTab);
    }
    if (enableAddToGameCollection) {
        tabsPanel.appendChild(existingTab);
    }
    return tabsPanel.element();
}
Also used : Tab(org.dominokit.domino.ui.tabs.Tab) TabsPanel(org.dominokit.domino.ui.tabs.TabsPanel)

Example 2 with TabsPanel

use of org.dominokit.domino.ui.tabs.TabsPanel in project playshogi by Tellmarch.

the class UploadKifusPopup method createProblemCollectionsForm.

private Node createProblemCollectionsForm() {
    Tab newTab = createNewProblemCollectionTab();
    Tab existingTab = createExistingProblemCollectionTab();
    TabsPanel tabsPanel = TabsPanel.create();
    if (enableNewProblemCollection) {
        tabsPanel.appendChild(newTab);
    }
    if (enableAddToProblemCollection) {
        tabsPanel.appendChild(existingTab);
    }
    return tabsPanel.element();
}
Also used : Tab(org.dominokit.domino.ui.tabs.Tab) TabsPanel(org.dominokit.domino.ui.tabs.TabsPanel)

Aggregations

Tab (org.dominokit.domino.ui.tabs.Tab)2 TabsPanel (org.dominokit.domino.ui.tabs.TabsPanel)2