|
org.netbeans.modules.editor.lib2/1 1.43.1 10 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.spi.editor.typinghooks.TypedBreakInterceptor.Context
public static class TypedBreakInterceptor.Context
The context class providing information about the edited document, its editor pane, caret offset, line break insertion offset and text.
Method Summary | |
---|---|
int |
getBreakInsertOffset()
Gets the line break insertion offset. |
int |
getCaretOffset()
Gets the caret offset. |
JTextComponent |
getComponent()
Gets the editor component where the currently processed key typed event occurred. |
Document |
getDocument()
Gets the edited document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JTextComponent getComponent()
Document
.public Document getDocument()
public int getCaretOffset()
KeyEvent
happened). This may or may not be the same offset, where the line break
will be inserted.
public int getBreakInsertOffset()
|
org.netbeans.modules.editor.lib2/1 1.43.1 10 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |