net.sourceforge.mflow.impl
Class MFlowUIManagerImpl

java.lang.Object
  extended bynet.sourceforge.mflow.impl.MFlowUIManagerImpl
All Implemented Interfaces:
MFlowUIManager

public class MFlowUIManagerImpl
extends java.lang.Object
implements MFlowUIManager

A class for managing instances of MFlowUI

Version:
$Revision: 1.4 $
Author:
David Carr

Method Summary
 void addInstance(MFlowUI instance)
          Adds a new UI instance
 MFlowUI getCurrentInstance()
           
 MFlowUI[] getInstances()
          Gets an array of the current instances of MFlowUI
 void removeInstance(MFlowUI ui)
          Removes an instance of MFlowUI
 void setCurrentInstance(MFlowUI ui)
          Sets the current instance of the UI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addInstance

public void addInstance(MFlowUI instance)
Description copied from interface: MFlowUIManager
Adds a new UI instance

Specified by:
addInstance in interface MFlowUIManager
Parameters:
instance - the ui instance to add

getInstances

public MFlowUI[] getInstances()
Description copied from interface: MFlowUIManager
Gets an array of the current instances of MFlowUI

Specified by:
getInstances in interface MFlowUIManager
Returns:
an array of MFlowUI

removeInstance

public void removeInstance(MFlowUI ui)
Description copied from interface: MFlowUIManager
Removes an instance of MFlowUI

Specified by:
removeInstance in interface MFlowUIManager
Parameters:
ui - the instance to remove

setCurrentInstance

public void setCurrentInstance(MFlowUI ui)
Description copied from interface: MFlowUIManager
Sets the current instance of the UI.

Specified by:
setCurrentInstance in interface MFlowUIManager
Parameters:
ui - the new UI instance to set

getCurrentInstance

public MFlowUI getCurrentInstance()
Specified by:
getCurrentInstance in interface MFlowUIManager
Returns:
the current UI instance


Copyright © 2002-2004 MFlow Group. All Rights Reserved.