Nekit
v 0.9

com.nekhem.nekit
Class NekEditorKit

java.lang.Object
  |
  +--javax.swing.text.EditorKit
        |
        +--javax.swing.text.DefaultEditorKit
              |
              +--javax.swing.text.StyledEditorKit
                    |
                    +--javax.swing.text.html.HTMLEditorKit
                          |
                          +--com.nekhem.nekit.NekEditorKit
All Implemented Interfaces:
javax.accessibility.Accessible, java.lang.Cloneable, java.io.Serializable

public class NekEditorKit
extends javax.swing.text.html.HTMLEditorKit

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.text.html.HTMLEditorKit
javax.swing.text.html.HTMLEditorKit.HTMLFactory, javax.swing.text.html.HTMLEditorKit.HTMLTextAction, javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction, javax.swing.text.html.HTMLEditorKit.LinkController, javax.swing.text.html.HTMLEditorKit.Parser, javax.swing.text.html.HTMLEditorKit.ParserCallback
 
Nested classes 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 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
static java.lang.String deleteNextCharAction
          Name of the action to delete the character of content that follows the current caret position.
static java.lang.String deletePrevCharAction
          Name of the action to delete the character of content that precedes the current caret position.
 
Fields inherited from class javax.swing.text.html.HTMLEditorKit
BOLD_ACTION, COLOR_ACTION, DEFAULT_CSS, FONT_CHANGE_BIGGER, FONT_CHANGE_SMALLER, IMG_ALIGN_BOTTOM, IMG_ALIGN_MIDDLE, IMG_ALIGN_TOP, IMG_BORDER, ITALIC_ACTION, LOGICAL_STYLE_ACTION, PARA_INDENT_LEFT, PARA_INDENT_RIGHT
 
Fields inherited from class javax.swing.text.DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, 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
NekEditorKit()
           
 
Method Summary
 javax.swing.text.Document createDefaultDocument()
           
static void delete(NekitDocument nekitDoc, NekitPane nekitPane, int pos, int length)
           
 void write(java.io.Writer out, javax.swing.text.Document doc, int pos, int len)
          Write content from a document to the given stream in a format appropriate for this kind of content handler.
 
Methods inherited from class javax.swing.text.html.HTMLEditorKit
clone, createInputAttributes, deinstall, getAccessibleContext, getActions, getContentType, getDefaultCursor, getInputAttributes, getLinkCursor, getParser, getStyleSheet, getViewFactory, insertHTML, install, read, setDefaultCursor, setLinkCursor, setStyleSheet
 
Methods inherited from class javax.swing.text.StyledEditorKit
getCharacterAttributeRun
 
Methods inherited from class javax.swing.text.DefaultEditorKit
createCaret, read, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deletePrevCharAction

public static final java.lang.String deletePrevCharAction
Name of the action to delete the character of content that precedes the current caret position.

See Also:
HTMLEditorKit.getActions(), Constant Field Values

deleteNextCharAction

public static final java.lang.String deleteNextCharAction
Name of the action to delete the character of content that follows the current caret position.

See Also:
HTMLEditorKit.getActions(), Constant Field Values
Constructor Detail

NekEditorKit

public NekEditorKit()
Method Detail

createDefaultDocument

public javax.swing.text.Document createDefaultDocument()
Overrides:
createDefaultDocument in class javax.swing.text.html.HTMLEditorKit

delete

public static void delete(NekitDocument nekitDoc,
                          NekitPane nekitPane,
                          int pos,
                          int length)
                   throws javax.swing.text.BadLocationException
javax.swing.text.BadLocationException

write

public void write(java.io.Writer out,
                  javax.swing.text.Document doc,
                  int pos,
                  int len)
           throws java.io.IOException,
                  javax.swing.text.BadLocationException
Write content from a document to the given stream in a format appropriate for this kind of content handler.

Overrides:
write in class javax.swing.text.html.HTMLEditorKit
Parameters:
out - the stream to write to
doc - the source for the write
pos - the location in the document to fetch the content
len - the amount to write out
Throws:
java.io.IOException - on any I/O error
javax.swing.text.BadLocationException - if pos represents an invalid location within the document

Nekit
v 0.9

Submit a bug or feature
Nekhem Technologies