1 7 8 package javax.accessibility; 9 10 import java.util.*; 11 import java.awt.*; 12 import javax.swing.text.*; 13 14 35 36 public interface AccessibleEditableText extends AccessibleText { 37 38 43 public void setTextContents(String s); 44 45 52 public void insertTextAtIndex(int index, String s); 53 54 61 public String getTextRange(int startIndex, int endIndex); 62 63 69 public void delete(int startIndex, int endIndex); 70 71 77 public void cut(int startIndex, int endIndex); 78 79 85 public void paste(int startIndex); 86 87 95 public void replaceText(int startIndex, int endIndex, String s); 96 97 103 public void selectText(int startIndex, int endIndex); 104 105 113 public void setAttributes(int startIndex, int endIndex, AttributeSet as); 114 115 } 116 | Popular Tags |