FileDocCategorySizeDatePackage
Position.javaAPI DocJava SE 5 API1538Fri Aug 26 14:58:16 BST 2005javax.swing.text

Position

public interface Position
Represents a location within a document. It is intended to abstract away implementation details of the document and enable specification of positions within the document that are capable of tracking of change as the document is edited (i.e. offsets are fragile).
author
Timothy Prinzing
version
1.18 12/19/03

Fields Summary
Constructors Summary
Methods Summary
public intgetOffset()
Fetches the current offset within the document.

return
the offset >= 0