public class InternalFramePageManager extends PageManager
PageManager
that manages its pages as InternalFrames on a Desktop.PageManager.PageManagerCommandProcessor
Modifier and Type | Field and Description |
---|---|
static int |
CASCADE |
static int |
TILE_HORIZONTALLY |
static int |
TILE_VERTICALLY |
Constructor and Description |
---|
InternalFramePageManager() |
Modifier and Type | Method and Description |
---|---|
PageContext |
openPage(Component c,
String title,
Icon icon,
String type,
boolean selectOnOpen)
Submits a new page to this page manager.
|
addPageListener, closeAll, getContext, getPageCount, getSelectedPage, openPage, openPage, pages, removePageListener, setPageManagerType
public static final int CASCADE
public static final int TILE_HORIZONTALLY
public static final int TILE_VERTICALLY
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.Copyright © 2000–2017 FreeHEP. All rights reserved.