org.freehep.application.mdi
Class ControlPageManager

java.lang.Object
  extended by org.freehep.application.mdi.PageManager
      extended by org.freehep.application.mdi.TabbedPageManager
          extended by org.freehep.application.mdi.ControlPageManager

public class ControlPageManager
extends TabbedPageManager

A TabbedPageManager that only shows its tabs when there is more than one page. This is the default PageManager used by the control and console areas.

Version:
$Id: ControlPageManager.java 8584 2006-08-10 23:06:37Z duns $
Author:
Tony Johnson (tonyj@slac.stanford.edu)

Nested Class Summary
protected  class ControlPageManager.InternalPanel
           
 
Nested classes/interfaces inherited from class org.freehep.application.mdi.PageManager
PageManager.PageManagerCommandProcessor
 
Field Summary
 
Fields inherited from class org.freehep.application.mdi.TabbedPageManager
tabs
 
Fields inherited from class org.freehep.application.mdi.PageManager
listenerList
 
Constructor Summary
ControlPageManager()
          Creates new ControlPageManager
 
Method Summary
protected  boolean close(PageContext page)
           
protected  Component getEmbodiment()
           
protected  int indexOfPage(PageContext page)
           
 PageContext openPage(Component c, String title, Icon icon, String type)
           
protected  void show(PageContext page)
           
 
Methods inherited from class org.freehep.application.mdi.TabbedPageManager
getSelectedPage, getTabPlacement, iconChanged, init, setActive, setTabPlacement, titleChanged
 
Methods inherited from class org.freehep.application.mdi.PageManager
addPageListener, closeAll, createCommandProcessor, firePageEvent, firePageOpened, fireSelectionChanged, getCommandProcessor, getPageCount, modifyPopupMenu, openPage, pageManagerType, pages, removePageListener, setPageManagerType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlPageManager

public ControlPageManager()
Creates new ControlPageManager

Method Detail

getEmbodiment

protected Component getEmbodiment()
Overrides:
getEmbodiment in class TabbedPageManager

close

protected boolean close(PageContext page)
Overrides:
close in class TabbedPageManager

openPage

public PageContext openPage(Component c,
                            String title,
                            Icon icon,
                            String type)
Overrides:
openPage in class TabbedPageManager

indexOfPage

protected int indexOfPage(PageContext page)
Overrides:
indexOfPage in class TabbedPageManager

show

protected void show(PageContext page)
Overrides:
show in class TabbedPageManager


Copyright © 2000-2006 FreeHEP. All Rights Reserved.