API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.accessibility. AccessibleExtendedText View Source
Author(s)
Peter Korn
Lynn Monsanto
Since
1.5
Version
1.5 04/07/06
Serial
Hierarchy
 AccessibleExtendedText
Subinterfaces
Description
public interface AccessibleExtendedText
  The AccessibleExtendedText interface contains additional methods not provided by the AccessibleText interface Applications can determine if an object supports the AccessibleExtendedText interface by first obtaining its AccessibleContext (see Accessible) and then calling the AccessibleContext.getAccessibleText() method of AccessibleContext.
Methods
Hide/Show inherited methods
public Rectangle getTextBounds (int startIndex, int endIndex)
  Returns the bounding rectangle of the text between two indices.
public String getTextRange (int startIndex, int endIndex)
  Returns the text between two indices
public AccessibleTextSequence getTextSequenceAfter (int part, int index)
  Returns the AccessibleTextSequence after a given index.
public AccessibleTextSequence getTextSequenceAt (int part, int index)
  Returns the AccessibleTextSequence at a given index.
public AccessibleTextSequence getTextSequenceBefore (int part, int index)
  Returns the AccessibleTextSequence before a given index.
Fields
Hide/Show inherited fields
publicfinalstatic int ATTRIBUTE_RUN = "5"
  Constant used to indicate that the part of the text that should be retrieved is contiguous text with the same text attributes.
publicfinalstatic int LINE = "4"
  Constant used to indicate that the part of the text that should be retrieved is a line of text.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar