Kafenio.editor 0.8.5

de.xeinfach.kafenio.component
Class ExtendedHTMLEditorKit.HTMLFactoryExtended

java.lang.Object
  extended byjavax.swing.text.html.HTMLEditorKit.HTMLFactory
      extended byde.xeinfach.kafenio.component.ExtendedHTMLEditorKit.HTMLFactoryExtended
All Implemented Interfaces:
javax.swing.text.ViewFactory
Enclosing class:
ExtendedHTMLEditorKit

public static class ExtendedHTMLEditorKit.HTMLFactoryExtended
extends javax.swing.text.html.HTMLEditorKit.HTMLFactory
implements javax.swing.text.ViewFactory

Class that replaces the default ViewFactory and supports the proper rendering of both URL-based and local images.


Constructor Summary
ExtendedHTMLEditorKit.HTMLFactoryExtended()
          Constructor
 
Method Summary
 javax.swing.text.View create(javax.swing.text.Element elem)
          Method to handle IMG tags and invoke the image loader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedHTMLEditorKit.HTMLFactoryExtended

public ExtendedHTMLEditorKit.HTMLFactoryExtended()
Constructor

Method Detail

create

public javax.swing.text.View create(javax.swing.text.Element elem)
Method to handle IMG tags and invoke the image loader.

Specified by:
create in interface javax.swing.text.ViewFactory
Parameters:
elem - an element to create
Returns:
a View

Kafenio.editor 0.8.5

Copyright © 2003-2004 by Karsten Pawlik. All Rights Reserved. Published under the Lesser General Public License (LGPL)