dsto.dfc.swing.panels
Class DynamicCommandViews

java.lang.Object
  extended by dsto.dfc.swing.panels.StandardCommandViews
      extended by dsto.dfc.swing.panels.ClientCommandViews
          extended by dsto.dfc.swing.panels.DynamicCommandViews
All Implemented Interfaces:
CommandSource, PanelManagerListener, PropertyChangeListener, EventListener

public class DynamicCommandViews
extends ClientCommandViews
implements PanelManagerListener, PropertyChangeListener

A Dynamic Command View alters the commands visible on the main menu, context menu, and tool bar of the panel manager. The commands vary: a) when a new panel becomes the active panel b) when the active panel changes state - floated or unfloated

Version:
$Revision$
Author:
Peter J Smet

Constructor Summary
DynamicCommandViews(PanelManager manager)
           
 
Method Summary
 void aboutToRemovePanel(PanelManagerEvent e)
           
 void panelAdded(PanelManagerEvent e)
           
 void panelFloated(PanelManagerEvent e)
           
 void panelRemoved(PanelManagerEvent e)
           
 void panelUnfloated(PanelManagerEvent e)
           
 void propertyChange(PropertyChangeEvent e)
           
 
Methods inherited from class dsto.dfc.swing.panels.ClientCommandViews
addClientCommands, moveClientMenu, moveClientMenus, removeClientCommands, setClient
 
Methods inherited from class dsto.dfc.swing.panels.StandardCommandViews
addCommand, addCommands, getCommandView, removeCommands, setDefaultCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicCommandViews

public DynamicCommandViews(PanelManager manager)
Method Detail

panelFloated

public void panelFloated(PanelManagerEvent e)
Specified by:
panelFloated in interface PanelManagerListener

panelUnfloated

public void panelUnfloated(PanelManagerEvent e)
Specified by:
panelUnfloated in interface PanelManagerListener

propertyChange

public void propertyChange(PropertyChangeEvent e)
Specified by:
propertyChange in interface PropertyChangeListener

panelAdded

public void panelAdded(PanelManagerEvent e)
Specified by:
panelAdded in interface PanelManagerListener

aboutToRemovePanel

public void aboutToRemovePanel(PanelManagerEvent e)
Specified by:
aboutToRemovePanel in interface PanelManagerListener

panelRemoved

public void panelRemoved(PanelManagerEvent e)
Specified by:
panelRemoved in interface PanelManagerListener


Copyright © 2008 Commonwealth of Australia