public interface Editor
Modifier and Type | Method and Description |
---|---|
void |
clearBreakpointAtLine(int lineNo)
Clear a breakpoint indicator on the current (one-based) line.
|
void |
clearBreakpoints()
Clear all breakpoint indicators.
|
int |
getCurrentLineNumber()
Get (one-based) line number on which cursor is currently placed
|
java.lang.String |
getSourceFileName()
Get name of source file being displayed
|
java.lang.Object |
getUserData()
Get optional object of user data
|
boolean |
hasBreakpointAtLine(int lineNo)
Indicates whether a breakpoint indicator is visible on the
current (one-based) line.
|
void |
highlightLineNumber(int lineNo)
Highlight a particular line number.
|
void |
setUserData(java.lang.Object o)
Set optional object of user data
|
void |
showBreakpointAtLine(int lineNo)
Show a breakpoint indicator on the current (one-based) line.
|
void |
showLineNumber(int lineNo)
Make a particular line number visible on the screen.
|
void |
toFront()
Bring the given Editor to the front of all other Editors.
|
java.lang.String getSourceFileName()
int getCurrentLineNumber()
void showLineNumber(int lineNo)
void highlightLineNumber(int lineNo)
void showBreakpointAtLine(int lineNo)
boolean hasBreakpointAtLine(int lineNo)
void clearBreakpointAtLine(int lineNo)
void clearBreakpoints()
void setUserData(java.lang.Object o)
java.lang.Object getUserData()
void toFront()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.