|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
de.hillenbrand.swing.text.JavaEditorKit
public class JavaEditorKit
This kit supports a fairly minimal handling of editing java text content. It supports syntax highlighting and produces the lexical structure of the document as best it can.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.text.StyledEditorKit |
---|
javax.swing.text.StyledEditorKit.AlignmentAction, javax.swing.text.StyledEditorKit.BoldAction, javax.swing.text.StyledEditorKit.FontFamilyAction, javax.swing.text.StyledEditorKit.FontSizeAction, javax.swing.text.StyledEditorKit.ForegroundAction, javax.swing.text.StyledEditorKit.ItalicAction, javax.swing.text.StyledEditorKit.StyledTextAction, javax.swing.text.StyledEditorKit.UnderlineAction |
Nested classes/interfaces 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, deleteNextWordAction, deletePrevCharAction, deletePrevWordAction, 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 | |
---|---|
JavaEditorKit()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Create a copy of the editor kit. |
javax.swing.text.Document |
createDefaultDocument()
Creates an uninitialized text storage model that is appropriate for this type of editor. |
java.lang.String |
getContentType()
Get the MIME type of the data that this kit represents support for. |
JavaContext |
getStylePreferences()
|
javax.swing.text.ViewFactory |
getViewFactory()
Fetches a factory that is suitable for producing views of any models that are produced by this kit. |
void |
setStylePreferences(JavaContext prefs)
|
Methods inherited from class javax.swing.text.StyledEditorKit |
---|
createInputAttributes, deinstall, getActions, getCharacterAttributeRun, getInputAttributes, install |
Methods inherited from class javax.swing.text.DefaultEditorKit |
---|
createCaret, read, read, write, write |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaEditorKit()
Method Detail |
---|
public java.lang.Object clone()
clone
in class javax.swing.text.StyledEditorKit
public javax.swing.text.Document createDefaultDocument()
createDefaultDocument
in class javax.swing.text.StyledEditorKit
public java.lang.String getContentType()
text/java
.
getContentType
in class javax.swing.text.DefaultEditorKit
public JavaContext getStylePreferences()
public final javax.swing.text.ViewFactory getViewFactory()
getViewFactory
in class javax.swing.text.StyledEditorKit
public void setStylePreferences(JavaContext prefs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |