org.netbeans.spi.editor.hints/0 1.24.0 7

org.netbeans.spi.editor.hints
Class Context

java.lang.Object
  extended by 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

Method Summary
 AtomicBoolean getCancel()
           
 int getPosition()
           
 boolean isCanceled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

org.netbeans.spi.editor.hints/0 1.24.0 7

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.