fi.hut.tml.xsmiles.mlfc
Class SourceMLFC

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.MLFC
      extended byfi.hut.tml.xsmiles.mlfc.SourceMLFC
All Implemented Interfaces:
ResourceFetcher

public class SourceMLFC
extends MLFC

Class displays the XML document source to the MLFC area in the GUI. The format is just plain text. Note: This can also be used in some lightweight popup Frame or smth.

Version:
$Revision: 6355 $
Author:
Aki Teppo, Mikko Honkala

Field Summary
protected  XWrappingLabel wrappingLabel
           
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.MLFC
contentHandler, controlsShown, title
 
Constructor Summary
SourceMLFC()
           
 
Method Summary
 void display(XMLDocument doc, int mode, java.awt.Container c)
          Displays document in the MLFC area of the GUI window.
 void start()
          Start the MLFC.
 void stop()
          Stop the MLFC.
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.MLFC
commitUpdateTransaction, createAttributeNS, createElementNS, get, getContainer, getContentHandler, getLocalname, getMLFCController, getMLFCListener, getMLFCParameters, getResourceReferencer, getTitle, getVersion, getXMLDocument, init, initMLFC, isHost, isPrimary, pause, rollbackUpdateTransaction, setContainer, setContentHandler, setHost, setMLFCListener, setMLFCParameters, setTitle, setXMLDocument, setZoom, startMLFC, startUpdateTransaction, stopMLFC
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wrappingLabel

protected XWrappingLabel wrappingLabel
Constructor Detail

SourceMLFC

public SourceMLFC()
Method Detail

start

public void start()
Description copied from class: MLFC
Start the MLFC. This function is the pair to stop().

Specified by:
start in class MLFC

stop

public void stop()
Description copied from class: MLFC
Stop the MLFC. This function is the pair to start().

Specified by:
stop in class MLFC

display

public void display(XMLDocument doc,
                    int mode,
                    java.awt.Container c)
Displays document in the MLFC area of the GUI window.

Parameters:
doc - the XML document to be displayed.


X-Smiles 1.2