dsto.dfc.swing.panels
Class PanelManagerEvent

java.lang.Object
  extended by java.util.EventObject
      extended by dsto.dfc.swing.panels.PanelManagerEvent
All Implemented Interfaces:
Serializable

public class PanelManagerEvent
extends EventObject

A PanelManagerEvent is passed as a parameter to PanelManagerListener's when a Panel is floated, unfloated, added, or removed. The remove panel event can be vetoed by one or more listeners.

Version:
$Revision$
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PanelManagerEvent(PanelManager.Panel panel)
           
 
Method Summary
 PanelManager.Panel getPanel()
           
 boolean isVetoed()
          True if an aboutToRemovePanel event has been vetoed with veto ().
 void veto()
          Veto the removal of a panel.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PanelManagerEvent

public PanelManagerEvent(PanelManager.Panel panel)
Method Detail

getPanel

public PanelManager.Panel getPanel()

isVetoed

public boolean isVetoed()
True if an aboutToRemovePanel event has been vetoed with veto ().


veto

public void veto()
Veto the removal of a panel. Only valid while receiving an aboutToRemovePanel () notification.



Copyright © 2008 Commonwealth of Australia