eTextReader.applet
Class AppletViewFactory

java.lang.Object
  extended by javax.swing.text.html.HTMLEditorKit.HTMLFactory
      extended by eTextReader.applet.AppletViewFactory
All Implemented Interfaces:
javax.swing.text.ViewFactory

public class AppletViewFactory
extends javax.swing.text.html.HTMLEditorKit.HTMLFactory

A ViewFactory that provides support for creating views of applets and overrides the base functionality of image views to support synchronous loading of images

Author:
mcfall

Field Summary
private  AppletHTMLEditorKit kit
           
 
Constructor Summary
AppletViewFactory(AppletHTMLEditorKit kit)
           
 
Method Summary
 javax.swing.text.View create(javax.swing.text.Element elem)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kit

private final AppletHTMLEditorKit kit
Constructor Detail

AppletViewFactory

AppletViewFactory(AppletHTMLEditorKit kit)
Parameters:
kit -
Method Detail

create

public javax.swing.text.View create(javax.swing.text.Element elem)
Specified by:
create in interface javax.swing.text.ViewFactory
Overrides:
create in class javax.swing.text.html.HTMLEditorKit.HTMLFactory