|
||||||||||
| 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
jsyntaxpane.DefaultSyntaxKit
jsyntaxpane.syntaxkits.KreatorSyntaxKit
public abstract class KreatorSyntaxKit
| 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 jsyntaxpane.DefaultSyntaxKit |
|---|
CONFIG_CARETCOLOR, CONFIG_COMPONENTS, CONFIG_MENU, CONFIG_SELECTION, CONFIG_TOOLBAR, CONFIG_TOOLBAR_BORDER, CONFIG_TOOLBAR_BORDER_SIZE, CONFIG_TOOLBAR_OPAQUE, CONFIG_TOOLBAR_ROLLOVER |
| 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 | |
|---|---|
KreatorSyntaxKit(Lexer lexer)
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getSupportedFileExtension()
Returns the file extension of the files this kit highlights (without the dot). |
static KreatorSyntaxKit |
getSyntaxKitFor(java.lang.String fileextension)
Returns an appropriate syntax highlighter for a file with the given file extension. |
static boolean |
isSupported(java.lang.String fileextension)
Checks whether the given file extension is supported by any knowledge base parser. |
void |
registerContentType()
|
| Methods inherited from class jsyntaxpane.DefaultSyntaxKit |
|---|
addAbbreviation, addActions, addComponents, addPopupMenu, addToolBarActions, create, createDefaultDocument, deinstall, deinstallComponent, getAbbreviation, getAbbreviations, getConfig, getConfig, getContentType, getContentTypes, getProperty, getViewFactory, initKit, install, installComponent, isComponentInstalled, registerContentType, registerContentType, setConfig, setProperty, toggleComponent |
| Methods inherited from class javax.swing.text.DefaultEditorKit |
|---|
createCaret, getActions, read, read, write, write |
| Methods inherited from class javax.swing.text.EditorKit |
|---|
clone |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KreatorSyntaxKit(Lexer lexer)
| Method Detail |
|---|
public static boolean isSupported(java.lang.String fileextension)
fileextension - a string representing a file extension.
public static KreatorSyntaxKit getSyntaxKitFor(java.lang.String fileextension)
fileextension - a string representing a file extension.
public void registerContentType()
public abstract java.lang.String getSupportedFileExtension()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||