|
||||||||||
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
de.hunsicker.jalopy.swing.syntax.SyntaxEditorKit
public final class SyntaxEditorKit
An implementation of EditorKit
used for syntax colorizing. It implements
a view factory that maps elements to syntax colorizing views.
This editor kit can be plugged into text components to give them colorization features. It can be used in other applications, not just jEdit. The syntax colorizing package doesn't depend on any jEdit classes.
Nested Class Summary |
---|
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 | |
---|---|
SyntaxEditorKit()
|
Method Summary | |
---|---|
javax.swing.text.View |
create(javax.swing.text.Element elem)
Creates a view from an element that can be used for painting that element. |
javax.swing.text.Document |
createDefaultDocument()
Creates a new instance of the default document for this editor kit. |
javax.swing.text.ViewFactory |
getViewFactory()
Returns an instance of a view factory that can be used for creating views from elements. |
Methods inherited from class javax.swing.text.DefaultEditorKit |
---|
createCaret, 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 |
---|
public SyntaxEditorKit()
Method Detail |
---|
public javax.swing.text.ViewFactory getViewFactory()
ViewFactory
.
getViewFactory
in class javax.swing.text.DefaultEditorKit
public javax.swing.text.View create(javax.swing.text.Element elem)
create
in interface javax.swing.text.ViewFactory
elem
- The element
public javax.swing.text.Document createDefaultDocument()
createDefaultDocument
in class javax.swing.text.DefaultEditorKit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |