javax.swing
Class JEditorPane.PlainEditorKit
java.lang.Object
javax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.JEditorPane.PlainEditorKit
- All Implemented Interfaces:
- Cloneable, Serializable, ViewFactory
- Enclosing class:
- JEditorPane
- static class JEditorPane.PlainEditorKit
- extends DefaultEditorKit
- implements ViewFactory
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 |
JEditorPane.PlainEditorKit
JEditorPane.PlainEditorKit()
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)