All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.java.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 (ie offsets are fragile).


Method Index

 o getOffset()
Fetches the current offset within the document.

Methods

 o getOffset
 public abstract int getOffset()
Fetches the current offset within the document.

Returns:
the offset

All Packages  Class Hierarchy  This Package  Previous  Next  Index