WebUITab¶
WebUITab is an abstraction of UI tabs with a name and pages.
Implementations¶
Creating Instance¶
WebUITab takes the following to be created:
- WebUI
- Prefix
Abstract Class
WebUITab is an abstract class and cannot be created directly. It is created indirectly for the concrete WebUITabs.
Name¶
name: String
WebUITab has a name that is the prefix capitalized by default.
Pages¶
pages: ArrayBuffer[WebUIPage]
WebUITab has WebUIPages.
Attaching Page¶
attachPage(
page: WebUIPage): Unit
attachPage registers the WebUIPage (in the pages registry).
attachPage adds the prefix of this WebUITab before the prefix of the given WebUIPage:
[prefix]/[page.prefix]