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();
}
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();
}