javax.swing
Class JEditorPane.PlainEditorKit

java.lang.Object
  extended byjavax.swing.text.EditorKit
      extended byjavax.swing.text.DefaultEditorKit
          extended byjavax.swing.JEditorPane.PlainEditorKit
All Implemented Interfaces:
Cloneable, Serializable, ViewFactory
Enclosing class:
JEditorPane

static class JEditorPane.PlainEditorKit
extends DefaultEditorKit
implements ViewFactory


Nested Class Summary
(package private) static class JEditorPane.PlainEditorKit.PlainParagraph
          Paragraph for representing plain-text lines that support bidirectional text.
 
Nested classes inherited from class javax.swing.text.DefaultEditorKit
DefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, 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
(package private) JEditorPane.PlainEditorKit()
           
 
Method Summary
 View create(Element elem)
          Creates a view from the given structural element of a document.
(package private)  View createI18N(Element elem)
           
 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

JEditorPane.PlainEditorKit

JEditorPane.PlainEditorKit()
Method Detail

getViewFactory

public 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.

Overrides:
getViewFactory in class DefaultEditorKit
Returns:
the view factory

create

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

Specified by:
create in interface ViewFactory
Parameters:
elem - the piece of the document to build a view of
Returns:
the view
See Also:
JEditorPane.PlainEditorKit.PlainParagraph.LogicalView

createI18N

View createI18N(Element elem)