|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.MLFC
ALL MLFCs derive this abstract base class. Class provides default functionality for generic MLFC functionalities. The MLFCs can easily be used as beans. They are controlled with MLFCController. The MLFCListener interface defines services, that are needed by MLFCs. Use the MLFC interface, if your MLFC is not tightly coupled to the browser. If you need to use the BrowserWindow class in your MLFC, you should use the extend the CoreMLFC class. Only use the BrowserWindow, if you do not intend to reuse the MLFC in some other project.
CoreMLFC| Field Summary | |
protected XSmilesContentHandler |
contentHandler
|
protected boolean |
controlsShown
|
protected java.lang.String |
title
|
| Constructor Summary | |
MLFC()
|
|
| Method Summary | |
void |
commitUpdateTransaction()
Informs the container that it is free to repaint itself, and should do it right now. |
org.w3c.dom.Attr |
createAttributeNS(org.apache.xerces.dom.DocumentImpl doc,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
Create a DOM attribute. |
org.w3c.dom.Element |
createElementNS(org.apache.xerces.dom.DocumentImpl doc,
java.lang.String URI,
java.lang.String tagname)
|
XSmilesConnection |
get(java.net.URL dest,
short type)
Retrieve a resource via an URL using authenticated HTTP get and store it as a resource under this contenthandler. |
java.awt.Container |
getContainer()
|
XSmilesContentHandler |
getContentHandler()
|
java.lang.String |
getLocalname(java.lang.String tagname)
Get local name of a node. |
MLFCController |
getMLFCController()
|
MLFCListener |
getMLFCListener()
All traffic to the browser, such as openLocation, etc goes through this listener. |
java.util.Hashtable |
getMLFCParameters()
parameters are set BEFORE initialization of the elements |
ResourceReferencer |
getResourceReferencer()
|
java.lang.String |
getTitle()
|
java.lang.String |
getVersion()
Get the version of the MLFC. |
XMLDocument |
getXMLDocument()
|
void |
init()
Initialize the MLFC. |
void |
initMLFC(XMLDocument a_doc,
java.awt.Container cont)
Displays document in the MLFC area of the GUI window. |
boolean |
isHost()
|
boolean |
isPrimary()
|
void |
pause()
Pauses or unpauses the MLFC. |
void |
rollbackUpdateTransaction()
Informs the container that it is free to repaint itself, but it shouldn't do it now. |
void |
setContainer(java.awt.Container c)
|
void |
setContentHandler(XSmilesContentHandler h)
|
void |
setHost(boolean flag)
|
void |
setMLFCListener(MLFCListener l)
All traffic to the browser, such as openLocation, etc goes through this listener. |
void |
setMLFCParameters(java.util.Hashtable p)
parameters are set BEFORE initialization of the elements |
void |
setTitle(java.lang.String t)
|
void |
setXMLDocument(XMLDocument doc)
|
void |
setZoom(double zoom)
notify that the zoom level has changed. |
abstract void |
start()
Start the MLFC. |
void |
startMLFC(XMLDocument a_doc,
java.awt.Container cont)
Displays document in the MLFC area of the GUI window. |
void |
startUpdateTransaction()
Informs the container that there is going to be a lot of concurrent updates to the document and the container shouldn't repaint itself until commit is called. |
abstract void |
stop()
Stop the MLFC. |
void |
stopMLFC()
Displays document in the MLFC area of the GUI window. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected boolean controlsShown
protected XSmilesContentHandler contentHandler
protected java.lang.String title
| Constructor Detail |
public MLFC()
| Method Detail |
public void init()
public abstract void start()
public void pause()
public abstract void stop()
public org.w3c.dom.Element createElementNS(org.apache.xerces.dom.DocumentImpl doc,
java.lang.String URI,
java.lang.String tagname)
public org.w3c.dom.Attr createAttributeNS(org.apache.xerces.dom.DocumentImpl doc,
java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
org.w3c.dom.DOMExceptionpublic MLFCController getMLFCController()
MLFCControllerpublic java.lang.String getVersion()
public final void initMLFC(XMLDocument a_doc,
java.awt.Container cont)
public final void startMLFC(XMLDocument a_doc,
java.awt.Container cont)
public final void stopMLFC()
public final void setMLFCListener(MLFCListener l)
l - The MLFCListener supplied by the browserMLFCListenerpublic final void setContentHandler(XSmilesContentHandler h)
public final XSmilesContentHandler getContentHandler()
public final ResourceReferencer getResourceReferencer()
public final MLFCListener getMLFCListener()
public final XSmilesConnection get(java.net.URL dest,
short type)
throws java.lang.Exception
get in interface ResourceFetcherjava.lang.Exceptionpublic final XMLDocument getXMLDocument()
public final void setXMLDocument(XMLDocument doc)
public final boolean isPrimary()
public final void setHost(boolean flag)
public final boolean isHost()
public final java.awt.Container getContainer()
public final void setContainer(java.awt.Container c)
public void startUpdateTransaction()
public void commitUpdateTransaction()
public void rollbackUpdateTransaction()
public java.lang.String getLocalname(java.lang.String tagname)
tagname - Tag name, including namspace prefix
public java.util.Hashtable getMLFCParameters()
public void setMLFCParameters(java.util.Hashtable p)
public void setZoom(double zoom)
public java.lang.String getTitle()
public void setTitle(java.lang.String t)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||