be.ac.ulg.montefiore.run.totem.visualtopo.guiComponents
Class DomainHandler

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiComponents.DomainHandler
All Implemented Interfaces:
InterDomainManagerListener

public class DomainHandler
extends java.lang.Object
implements InterDomainManagerListener

Class to display and manage the loaded domains. Singleton class, a reference to this class can be obtained by the static method getinstance().

Creation date: 6 d�c. 2005

Author:
Ga�l Monfort (monfort@run.montefiore.ulg.ac.be)

Method Summary
 void addDomainEvent(Domain domain)
          A new domain added.
 void changeDefaultDomainEvent(Domain domain)
          The default domain has changed for the specified domain.
static DomainHandler getInstance()
          return the instance of this class
 void hide()
          Dispose the dialog and stop listennig to the loaded domains changements
 void removeDomainEvent(Domain domain)
          A domain removed.
 void show()
          Show the dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DomainHandler getInstance()
return the instance of this class

Returns:
the instance of this class

show

public void show()
Show the dialog


hide

public void hide()
Dispose the dialog and stop listennig to the loaded domains changements


addDomainEvent

public void addDomainEvent(Domain domain)
Description copied from interface: InterDomainManagerListener
A new domain added.

Specified by:
addDomainEvent in interface InterDomainManagerListener
Parameters:
domain - The new domain.

removeDomainEvent

public void removeDomainEvent(Domain domain)
Description copied from interface: InterDomainManagerListener
A domain removed.

Specified by:
removeDomainEvent in interface InterDomainManagerListener
Parameters:
domain - A reference to the domain removed.

changeDefaultDomainEvent

public void changeDefaultDomainEvent(Domain domain)
Description copied from interface: InterDomainManagerListener
The default domain has changed for the specified domain.

Specified by:
changeDefaultDomainEvent in interface InterDomainManagerListener
Parameters:
domain - the new default domain.


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.