org.freehep.application.mdi
Class TabbedPageManager
java.lang.Object
org.freehep.application.mdi.PageManager
org.freehep.application.mdi.TabbedPageManager
- Direct Known Subclasses:
- ControlPageManager
- public class TabbedPageManager
- extends PageManager
- Version:
- $Id: TabbedPageManager.java,v 1.8 2004/07/20 00:40:54 tonyj Exp $
- Author:
- Tony Johnson (tonyj@slac.stanford.edu)
- Source Code:
- TabbedPageManager.java
Methods inherited from class org.freehep.application.mdi.PageManager |
addPageListener, closeAll, createCommandProcessor, firePageEvent, firePageOpened, fireSelectionChanged, getCommandProcessor, getPageCount, getSelectedPage, pages, removePageListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tabs
protected JTabbedPane tabs
TabbedPageManager
public TabbedPageManager()
- Creates new TabbedPageManager
setTabPlacement
public void setTabPlacement(int placement)
getTabPlacement
public int getTabPlacement()
show
protected void show(PageContext page)
- Specified by:
show
in class PageManager
getEmbodiment
protected Component getEmbodiment()
- Specified by:
getEmbodiment
in class PageManager
close
protected boolean close(PageContext page)
- Overrides:
close
in class PageManager
titleChanged
protected void titleChanged(PageContext page)
- Specified by:
titleChanged
in class PageManager
iconChanged
protected void iconChanged(PageContext page)
- Specified by:
iconChanged
in class PageManager
indexOfPage
protected int indexOfPage(PageContext page)
openPage
public PageContext openPage(Component c,
String title,
Icon icon)
- Overrides:
openPage
in class PageManager
init
protected void init(List pages,
PageContext selected)
- Overrides:
init
in class PageManager
setActive
protected void setActive(boolean active)
- Description copied from class:
PageManager
- Called whenever the page manager becomes, or ceases to be, in use.
Can be used to allocated and/or free-up resources used by the page manager.
- Overrides:
setActive
in class PageManager
- Parameters:
active
- true
if the page manager is becoming active, false
if it is ceasing to be active
Copyright © 2000-2004 FreeHEP, All Rights Reserved.