org.netbeans.spi.editor.typinghooks
public static class TypedBreakInterceptor.Context extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.