com.swabunga.spell.swing.autospell
Class AutoSpellViewFactory

java.lang.Object
  extended by com.swabunga.spell.swing.autospell.AutoSpellViewFactory
All Implemented Interfaces:
javax.swing.text.ViewFactory

public class AutoSpellViewFactory
extends java.lang.Object
implements javax.swing.text.ViewFactory

Gets the views from the original ViewFactory and but all of them in a AutoSpellView to support the waved line style. (Maybe this should only be done for elements actually marked as misspelled, maybe...)

Author:
Robert Gustavsson (robert@lindesign.se)

Constructor Summary
AutoSpellViewFactory(javax.swing.text.ViewFactory wf)
           
 
Method Summary
 javax.swing.text.View create(javax.swing.text.Element arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoSpellViewFactory

public AutoSpellViewFactory(javax.swing.text.ViewFactory wf)
Method Detail

create

public javax.swing.text.View create(javax.swing.text.Element arg0)
Specified by:
create in interface javax.swing.text.ViewFactory