Interface TabbedForm
- All Known Implementing Classes:
ComplexFormBuilder,TabbedFormBuilder
public interface TabbedForm
The form component tab page handler support interface
- Since:
- 4.0
- Author:
- JBStrap
-
Method Summary
Modifier and TypeMethodDescriptioncreateTabpage(String name, Icon icon, String title) Creates a tab page for the builder classes, that use tab pages.getTabpage(String name) Gets the tab page, specified by its name.voidsetTabType(TabType tabType) Sets the tab type.
-
Method Details
-
createTabpage
Creates a tab page for the builder classes, that use tab pages.- Parameters:
name- The name of the tab page, must be unique within the formicon- The icon of the tab page. The usable icons can be found in theIconenum. Ifnullno icon will be usedtitle- The title of the tab page. Ifnull, no title will be used on the tab page- Returns:
- The created tab page
-
getTabpage
Gets the tab page, specified by its name.- Parameters:
name- The name of the tab page- Returns:
- The tab page corresponding to the name, or
null, if not found
-
setTabType
Sets the tab type. By default, theTabType.DEFAULTtype is used.- Parameters:
tabType- The tab type. Usable values:TabTypeenum
-