de.uni_paderborn.fujaba.fsa.swing
Class EvenPlainerEditorKit

java.lang.Object
  extended byjavax.swing.text.EditorKit
      extended byjavax.swing.text.DefaultEditorKit
          extended byde.uni_paderborn.fujaba.fsa.swing.EvenPlainerEditorKit
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, javax.swing.text.ViewFactory

public class EvenPlainerEditorKit
extends javax.swing.text.DefaultEditorKit
implements javax.swing.text.ViewFactory

An EditorKit that does not, like the default kit for plain text, break lines on the right border but updates the size of the Pane

Version:
$Revision: 1.6 $
Author:
$Author: lowende $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.text.DefaultEditorKit
javax.swing.text.DefaultEditorKit.BeepAction, javax.swing.text.DefaultEditorKit.CopyAction, javax.swing.text.DefaultEditorKit.CutAction, javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction, javax.swing.text.DefaultEditorKit.InsertBreakAction, javax.swing.text.DefaultEditorKit.InsertContentAction, javax.swing.text.DefaultEditorKit.InsertTabAction, javax.swing.text.DefaultEditorKit.PasteAction
 
Field Summary
 
Fields inherited from class javax.swing.text.DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deletePrevCharAction, downAction, endAction, endLineAction, EndOfLineStringProperty, endParagraphAction, endWordAction, forwardAction, insertBreakAction, insertContentAction, insertTabAction, nextWordAction, pageDownAction, pageUpAction, pasteAction, previousWordAction, readOnlyAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginParagraphAction, selectionBeginWordAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndParagraphAction, selectionEndWordAction, selectionForwardAction, selectionNextWordAction, selectionPreviousWordAction, selectionUpAction, selectLineAction, selectParagraphAction, selectWordAction, upAction, writableAction
 
Constructor Summary
EvenPlainerEditorKit()
           
 
Method Summary
 javax.swing.text.View create(javax.swing.text.Element elem)
          Creates a view from the given structural element of a document.
 javax.swing.text.ViewFactory getViewFactory()
          Fetches a factory that is suitable for producing views of any models that are produced by this kit.
 
Methods inherited from class javax.swing.text.DefaultEditorKit
createCaret, createDefaultDocument, getActions, getContentType, read, read, write, write
 
Methods inherited from class javax.swing.text.EditorKit
clone, deinstall, install
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvenPlainerEditorKit

public EvenPlainerEditorKit()
Method Detail

create

public javax.swing.text.View create(javax.swing.text.Element elem)
Creates a view from the given structural element of a document.

Specified by:
create in interface javax.swing.text.ViewFactory
Parameters:
elem - the piece of the document to build a view of
Returns:
the view
See Also:
View

getViewFactory

public javax.swing.text.ViewFactory getViewFactory()
Fetches a factory that is suitable for producing views of any models that are produced by this kit. The default is to have the UI produce the factory, so this method has no implementation.

Returns:
the view factory