Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.accessibility
Interface AccessibleExtendedText  view AccessibleExtendedText download AccessibleExtendedText.java


public interface AccessibleExtendedText

This interface provides extended text functionality, similar to AccessibleText.

Since:
1.5

Field Summary
static int ATTRIBUTE_RUN
          This constant indicates that the retrieved text should consist of a run with identical attributes.
static int LINE
          This constant indicates that the retrieved text should be a complete line.
 
Method Summary
 java.awt.Rectangle getTextBounds(int start, int end)
          Determines the bounding box of some text held by this object.
 java.lang.String getTextRange(int start, int end)
          Return a range of text from the underlying object.
 AccessibleTextSequence getTextSequenceAfter(int part, int index)
          Return a text sequence from the underlying object.
 AccessibleTextSequence getTextSequenceAt(int part, int index)
          Return a text sequence from the underlying object.
 AccessibleTextSequence getTextSequenceBefore(int part, int index)
          Return a text sequence from the underlying object.
 

Field Detail

LINE

public static final int LINE
This constant indicates that the retrieved text should be a complete line.

See Also:
Constant Field Values

ATTRIBUTE_RUN

public static final int ATTRIBUTE_RUN
This constant indicates that the retrieved text should consist of a run with identical attributes.

See Also:
Constant Field Values
Method Detail

getTextBounds

public java.awt.Rectangle getTextBounds(int start,
                                        int end)
Determines the bounding box of some text held by this object.


getTextRange

public java.lang.String getTextRange(int start,
                                     int end)
Return a range of text from the underlying object.


getTextSequenceAfter

public AccessibleTextSequence getTextSequenceAfter(int part,
                                                   int index)
Return a text sequence from the underlying object. The part parameter describes the type of sequence to return; it is one of the constants from AccessibleText or from this class.


getTextSequenceAt

public AccessibleTextSequence getTextSequenceAt(int part,
                                                int index)
Return a text sequence from the underlying object. The part parameter describes the type of sequence to return; it is one of the constants from AccessibleText or from this class.


getTextSequenceBefore

public AccessibleTextSequence getTextSequenceBefore(int part,
                                                    int index)
Return a text sequence from the underlying object. The part parameter describes the type of sequence to return; it is one of the constants from AccessibleText or from this class.