FreeHEP API
Version v1.2.2

org.freehep.application.mdi
Class ControlPageManager

java.lang.Object
  |
  +--org.freehep.application.mdi.PageManager
        |
        +--org.freehep.application.mdi.TabbedPageManager
              |
              +--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,v 1.4 2003/08/23 01:04:26 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)

Nested Class Summary
 
Nested classes 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)
           
protected  void show(PageContext page)
           
 
Methods inherited from class org.freehep.application.mdi.TabbedPageManager
getTabPlacement, iconChanged, init, setTabPlacement, titleChanged
 
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
 

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)
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

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.