FreeHEP API
Version current

org.freehep.application.mdi
Class ControlPageManager

java.lang.Object
  extended byorg.freehep.application.mdi.PageManager
      extended byorg.freehep.application.mdi.TabbedPageManager
          extended byorg.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.7 2004/07/20 00:40:54 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)
Source Code:
ControlPageManager.java

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, setActive, 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 current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.