API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.accessibility. AccessibleEditableText View Source
Author(s)
Lynn Monsanto
Since
1.4
Version
1.6 @(#)AccessibleEditableText.java 1.6
Serial
Hierarchy
 AccessibleText
      AccessibleEditableText
Subinterfaces
Description
public interface AccessibleEditableText
  The AccessibleEditableText interface should be implemented by all classes that present editable textual information on the display.
Methods
Hide/Show inherited methods
public void cut (int startIndex, int endIndex)
  Cuts the text between two indices into the system clipboard.
public void delete (int startIndex, int endIndex)
  Deletes the text between two indices
public String getTextRange (int startIndex, int endIndex)
  Returns the text string between two indices.
public void insertTextAtIndex (int index, String s)
  Inserts the specified string at the given index/
public void paste (int startIndex)
  Pastes the text from the system clipboard into the text starting at the specified index.
public void replaceText (int startIndex, int endIndex, String s)
  Replaces the text between two indices with the specified string.
public void selectText (int startIndex, int endIndex)
  Selects the text between two indices.
public void setAttributes (int startIndex, int endIndex, AttributeSet as)
  Sets attributes for the text between two indices.
public void setTextContents (String s)
  Sets the text contents to the specified string.
Fields
Hide/Show inherited fields
publicfinalstatic int CHARACTER = "1" [Inherited From AccessibleText]
  Constant used to indicate that the part of the text that should be retrieved is a character.
publicfinalstatic int SENTENCE = "3" [Inherited From AccessibleText]
  Constant used to indicate that the part of the text that should be retrieved is a sentence.
publicfinalstatic int WORD = "2" [Inherited From AccessibleText]
  Constant used to indicate that the part of the text that should be retrieved is a word.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar