|
org.netbeans.modules.java.source 0.80.1 17 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.java.source.PositionConverter
public final class PositionConverter
Binding between virtual Java source and the real source. Please note that this class is needed only for clients that need to work in non-Java files (eg. JSP files) or in dialogs, like code completion. Most clients do not need to use this class.
Method Summary | |
---|---|
int |
getJavaSourcePosition(int originalPosition)
Compute position in the virtual Java source for given position in the document. |
int |
getOriginalPosition(int javaSourcePosition)
Compute position in the document for given position in the virtual Java source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getOriginalPosition(int javaSourcePosition)
javaSourcePosition
- position in the virtual Java Source
public int getJavaSourcePosition(int originalPosition)
originalPosition
- position in the document
|
org.netbeans.modules.java.source 0.80.1 17 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |