org.freehep.application.mdi
Class InternalFramePageManager

java.lang.Object
  extended by org.freehep.application.mdi.PageManager
      extended by org.freehep.application.mdi.InternalFramePageManager

public class InternalFramePageManager
extends PageManager

A PageManager which manages its pages as InternalFrames on a Desktop

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

Nested Class Summary
protected  class InternalFramePageManager.MDIDesktopPane
           
 
Nested classes/interfaces inherited from class org.freehep.application.mdi.PageManager
PageManager.PageManagerCommandProcessor
 
Field Summary
static int CASCADE
           
static int TILE_HORIZONTALLY
           
static int TILE_VERTICALLY
           
 
Fields inherited from class org.freehep.application.mdi.PageManager
listenerList
 
Constructor Summary
InternalFramePageManager()
           
 
Method Summary
protected  boolean close(PageContext page)
           
protected  org.freehep.util.commanddispatcher.CommandProcessor createCommandProcessor()
           
protected  Component getEmbodiment()
           
protected  void iconChanged(PageContext page)
           
protected  void init(List pages, PageContext selected)
           
 PageContext openPage(Component c, String title, Icon icon, String type)
           
protected  void setActive(boolean active)
          Called whenever the page manager becomes, or ceases to be, in use.
protected  void show(PageContext page)
           
protected  void titleChanged(PageContext page)
           
 
Methods inherited from class org.freehep.application.mdi.PageManager
addPageListener, closeAll, firePageEvent, firePageOpened, fireSelectionChanged, getCommandProcessor, getPageCount, getSelectedPage, modifyPopupMenu, openPage, pageManagerType, pages, removePageListener, setPageManagerType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CASCADE

public static final int CASCADE
See Also:
Constant Field Values

TILE_HORIZONTALLY

public static final int TILE_HORIZONTALLY
See Also:
Constant Field Values

TILE_VERTICALLY

public static final int TILE_VERTICALLY
See Also:
Constant Field Values
Constructor Detail

InternalFramePageManager

public InternalFramePageManager()
Method Detail

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

openPage

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

init

protected void init(List pages,
                    PageContext selected)
Overrides:
init in class PageManager

createCommandProcessor

protected org.freehep.util.commanddispatcher.CommandProcessor createCommandProcessor()
Overrides:
createCommandProcessor 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-2006 FreeHEP. All Rights Reserved.