Where Am I? Class Hierarchy (JFC) All Classes (JFC)

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

getOffset()
Fetches the current offset within the document.

Methods

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

Returns:
the offset

Where Am I? Class Hierarchy (JFC) All Classes (JFC)