public class OHTMLEditorKit extends HTMLEditorKit
| Modifier and Type | Class and Description |
|---|---|
protected class |
OHTMLEditorKit.BorderlessTableView
Delegate view which draws borderless tables.
|
class |
OHTMLEditorKit.OHTMLFactory
Factory to build views of the html elements.
|
protected class |
OHTMLEditorKit.ResizableView
View which can draw resize handles around its delegate
|
protected class |
OHTMLEditorKit.ResizeHandler
Handle the resizing of images and tables
|
protected class |
OHTMLEditorKit.UnknownElementView
A view for
Elements that are uneditable. |
HTMLEditorKit.HTMLFactory, HTMLEditorKit.HTMLTextAction, HTMLEditorKit.InsertHTMLTextAction, HTMLEditorKit.LinkController, HTMLEditorKit.Parser, HTMLEditorKit.ParserCallbackStyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineActionDefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction| Modifier and Type | Field and Description |
|---|---|
protected Map |
editorToActionsMap |
protected ArrayList |
monitoredViews |
protected MouseInputAdapter |
resizeHandler |
protected KeyStroke |
tabBackwardKS |
protected ViewFactory |
wysFactory |
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_RIGHTbackwardAction, 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 and Description |
|---|
OHTMLEditorKit() |
| Modifier and Type | Method and Description |
|---|---|
Document |
createDefaultDocument() |
void |
deinstall(JEditorPane ed) |
ViewFactory |
getViewFactory() |
void |
install(JEditorPane ed) |
void |
write(Writer out,
Document doc,
int pos,
int len) |
clone, createInputAttributes, getAccessibleContext, getActions, getContentType, getDefaultCursor, getInputAttributes, getLinkCursor, getParser, getStyleSheet, insertHTML, isAutoFormSubmission, read, setAutoFormSubmission, setDefaultCursor, setLinkCursor, setStyleSheetgetCharacterAttributeRuncreateCaret, read, writeprotected ArrayList monitoredViews
protected MouseInputAdapter resizeHandler
protected Map editorToActionsMap
protected KeyStroke tabBackwardKS
protected ViewFactory wysFactory
public ViewFactory getViewFactory()
getViewFactory in class HTMLEditorKitpublic Document createDefaultDocument()
createDefaultDocument in class HTMLEditorKitpublic void write(Writer out, Document doc, int pos, int len) throws IOException, BadLocationException
write in class HTMLEditorKitIOExceptionBadLocationExceptionpublic void install(JEditorPane ed)
install in class HTMLEditorKitpublic void deinstall(JEditorPane ed)
deinstall in class HTMLEditorKitCopyright © 2016 Imatia Innovation S.L.. All rights reserved.