fi.hut.tml.xsmiles.content
Class ContentManager
java.lang.Object
fi.hut.tml.xsmiles.content.ContentManager
- public class ContentManager
- extends java.lang.Object
Activates and deactivates MLFCs upon requests.
See Technical Requirements Specification for further details on
MLFC management.
Note: there are 3 phases in creating/stopping a primary MLFC: init-start-destroy : the
first two are for synchronization purposes
- Author:
- Jukka Heinonen, Juha, Mikko Honkala
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mlfcListener
protected MLFCListener mlfcListener
primaryHandler
protected XSmilesContentHandler primaryHandler
ContentManager
public ContentManager(BrowserWindow myBrowser,
MLFCListener listener)
- Define mappings between MLFCs and their class-names, and
initialize private variables.
- Parameters:
myBrowser - The BrowserWindow.
addContentHandler
public void addContentHandler(XSmilesContentHandler handler)
addPrimaryContentHandler
public void addPrimaryContentHandler(XSmilesContentHandler handler)
getPrimaryContentHandler
public XSmilesContentHandler getPrimaryContentHandler()
getContentHandlers
public java.util.Vector getContentHandlers()
- Returns:
- all content handlers, also primary
stopCurrentActiveContent
public void stopCurrentActiveContent()
- destroys all currently active MLFCs.
X-Smiles 1.2