public class TabbedPageManager extends PageManager
PageManager.PageManagerCommandProcessor
Constructor and Description |
---|
TabbedPageManager()
Creates new TabbedPageManager
|
Modifier and Type | Method and Description |
---|---|
PageContext |
getSelectedPage() |
int |
getTabPlacement() |
PageContext |
openPage(Component c,
String title,
Icon icon,
String type,
boolean selectOnOpen)
Submits a new page to this page manager.
|
void |
setTabPlacement(int placement) |
addPageListener, closeAll, getContext, getPageCount, openPage, openPage, pages, removePageListener, setPageManagerType
public void setTabPlacement(int placement)
public int getTabPlacement()
public PageContext openPage(Component c, String title, Icon icon, String type, boolean selectOnOpen)
PageManager
openPage
in class PageManager
c
- Graphical component to be handled by this page manager.title
- Name for the page.icon
- Icon for the page.type
- Type of the page.selectOnOpen
- If true
, the page will be selected and displayed.
Implementation provided by this class ignores this parameter.PageContext
instance that can be used to handle the submitted page.public PageContext getSelectedPage()
getSelectedPage
in class PageManager
Copyright © 2000–2015 FreeHEP. All rights reserved.