|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.MLFC
fi.hut.tml.xsmiles.mlfc.xmlcss.XMLCSSMLFC
| Field Summary | |
protected boolean |
defaultStylesheetAdded
Initialize the MLFC. |
static short |
DOC_HTML_OR_XHTML
|
static short |
DOC_UNKNOWN
|
static short |
DOC_XML
|
protected short |
documentType
|
protected boolean |
refreshBlocking
|
protected CSSRenderer |
renderer
|
protected java.awt.Container |
scrollPane
|
protected boolean |
started
|
java.util.Vector |
windows
|
static java.lang.String |
XHTML_NS
|
static java.lang.String |
XHTML2_NS
|
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.MLFC |
contentHandler, controlsShown, title |
| Constructor Summary | |
XMLCSSMLFC()
|
|
| Method Summary | |
void |
addRenderer()
create or re-create renderer. |
void |
addXHTMLStyleSheets()
finds html/head/style elements and adds them to the CSS engine does not care about namespaces, so should work with XHTML1 & 2 |
void |
closePopup(StylableElement elem)
|
void |
commitUpdateTransaction()
Informs the container that it is free to repaint itself, and should do it right now. |
org.w3c.dom.Element |
createElementNS(org.apache.xerces.dom.DocumentImpl doc,
java.lang.String URI,
java.lang.String tag)
Creates xhtml elements to XSimles document. |
protected CSSRenderer |
createRenderer()
|
static org.w3c.dom.Element |
findChildElement(java.lang.String name,
org.w3c.dom.Element parent)
Set the title for the presentation. |
void |
init()
Initialize the MLFC. |
void |
refresh()
Refresh this element |
void |
repaintExternalWindows()
|
void |
rollbackUpdateTransaction()
Informs the container that it is free to repaint itself, but it shouldn't do it now. |
void |
setBlocking(boolean state)
|
void |
setScrollBar(java.lang.String id)
|
void |
setZoom(double zoom)
notify that the zoom level has changed. |
void |
showAsPopup(StylableElement elem,
java.lang.String containerType)
|
void |
start()
Start the MLFC. |
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. |
void |
stop()
Stop the MLFC. |
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.MLFC |
createAttributeNS, get, getContainer, getContentHandler, getLocalname, getMLFCController, getMLFCListener, getMLFCParameters, getResourceReferencer, getTitle, getVersion, getXMLDocument, initMLFC, isHost, isPrimary, pause, setContainer, setContentHandler, setHost, setMLFCListener, setMLFCParameters, setTitle, setXMLDocument, startMLFC, stopMLFC |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected CSSRenderer renderer
protected java.awt.Container scrollPane
public static final java.lang.String XHTML_NS
public static final java.lang.String XHTML2_NS
public static final short DOC_HTML_OR_XHTML
public static final short DOC_XML
public static final short DOC_UNKNOWN
protected short documentType
public java.util.Vector windows
protected boolean defaultStylesheetAdded
protected boolean started
protected boolean refreshBlocking
| Constructor Detail |
public XMLCSSMLFC()
| Method Detail |
public void init()
MLFC
init in class MLFCpublic void addRenderer()
protected CSSRenderer createRenderer()
public void commitUpdateTransaction()
MLFC
commitUpdateTransaction in class MLFCpublic void rollbackUpdateTransaction()
MLFC
rollbackUpdateTransaction in class MLFCpublic void startUpdateTransaction()
MLFC
startUpdateTransaction in class MLFCpublic void setZoom(double zoom)
setZoom in class MLFCpublic void start()
start in class MLFCpublic void stop()
stop in class MLFCpublic void repaintExternalWindows()
public org.w3c.dom.Element createElementNS(org.apache.xerces.dom.DocumentImpl doc,
java.lang.String URI,
java.lang.String tag)
throws org.w3c.dom.DOMException
createElementNS in class MLFCorg.w3c.dom.DOMExceptionpublic void addXHTMLStyleSheets()
public static org.w3c.dom.Element findChildElement(java.lang.String name,
org.w3c.dom.Element parent)
public void refresh()
RefreshableService
refresh in interface RefreshableServicepublic void setBlocking(boolean state)
setBlocking in interface RefreshableServicepublic void setScrollBar(java.lang.String id)
public void showAsPopup(StylableElement elem,
java.lang.String containerType)
showAsPopup in interface PopupHandlerpublic void closePopup(StylableElement elem)
closePopup in interface PopupHandler
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||