|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin org.xwiki.gwt.wysiwyg.client.plugin.line.LinePlugin org.xwiki.gwt.wysiwyg.client.plugin.line.IELinePlugin
public class IELinePlugin
Internet Explorer specific implementation of the LinePlugin
.
Field Summary |
---|
Fields inherited from class org.xwiki.gwt.wysiwyg.client.plugin.line.LinePlugin |
---|
BR, CLASS_NAME, domUtils, LI, LINE_BREAK, RESET, SPACER, SUBMIT, TD, TH |
Constructor Summary | |
---|---|
IELinePlugin()
|
Method Summary | |
---|---|
void |
destroy()
Notifies the plug-in to release its resources before being unloaded from the WYSIWYG editor. |
protected void |
ensureLineBreakIsVisible(com.google.gwt.dom.client.Node lineBreak,
com.google.gwt.dom.client.Node container)
Ensures that the line created by inserting a line break is visible. |
void |
init(RichTextArea textArea,
Config config)
Initialize the plug-in. |
protected void |
insertEmptyLine(com.google.gwt.dom.client.Node container,
Range caret)
Inserts an empty line before the block containing the caret. |
void |
onInnerHTMLChange(Element element)
Called whenever the innerHTML property, of an element within the document this listener has been
registered to, changes. |
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.line.LinePlugin |
---|
adjustLineBreak, copyLineStyle, handleRepeatableKey, insertLineBreak, isAfterLineBreak, isAtStart, isEmptyLine, isLineBreak, markInitialLineBreaks, markSpacers, needsSpace, onBackspace, onBeforeCommand, onCommand, onEnter, onEnterParagraph, onReset, replaceEmptyLinesWithParagraphs, splitLine, unMarkSpacers |
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin |
---|
getConfig, getTextArea, getUIExtensionList, getUIExtensions, saveRegistration, saveRegistrations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IELinePlugin()
Method Detail |
---|
public void init(RichTextArea textArea, Config config)
init
in interface Plugin
init
in class LinePlugin
textArea
- the text area of the editorconfig
- the configuration objectLinePlugin.init(RichTextArea, Config)
public void destroy()
destroy
in interface Plugin
destroy
in class LinePlugin
LinePlugin.destroy()
protected void insertEmptyLine(com.google.gwt.dom.client.Node container, Range caret)
insertEmptyLine
in class LinePlugin
container
- a block-level element containing the caretcaret
- the place where to insert the empty lineLinePlugin.insertEmptyLine(Node, Range)
public void onInnerHTMLChange(Element element)
innerHTML
property, of an element within the document this listener has been
registered to, changes.
onInnerHTMLChange
in interface InnerHTMLListener
element
- The element whose innerHTML
has changed.InnerHTMLListener.onInnerHTMLChange(Element)
protected void ensureLineBreakIsVisible(com.google.gwt.dom.client.Node lineBreak, com.google.gwt.dom.client.Node container)
LinePlugin
ensureLineBreakIsVisible
in class LinePlugin
lineBreak
- the line break that was insertedcontainer
- the container (e.g. the paragraph) where the line break was inserted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |