org.netbeans.spi.editor.hints
Class Context
java.lang.Object
org.netbeans.spi.editor.hints.Context
public final class Context
- extends Object
Context for PositionRefresher
Provides position of current alt-enter invocation and its cancel status
- Since:
- 1.8.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isCanceled
public boolean isCanceled()
- Returns:
- true if invocation has been canceled
getPosition
public int getPosition()
- Returns:
- Caret offset inside current document
getCancel
public AtomicBoolean getCancel()
- Returns:
- cancel status