|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
public interface AccessibleEditableText
AccessibleEditableText 인터페이스는, 편집 가능한 텍스트 정보를 화면에 표시하는 모든 클래스에 의해 구현될 필요가 있습니다. 이 인터페이스는, AccessibleText 인터페이스와 함께, 텍스트 컨텐츠, 속성, 및 공간 위치를 사용해 그 텍스트에 액세스하기 위한 표준적인 기구를 사용자 보조 기능에 제공합니다. 어플리케이션은, 객체의 AccessibleContext (Accessible
를 참조)를 취득하고 나서, AccessibleContext 의 AccessibleContext.getAccessibleEditableText()
메소드를 호출하면(자), 객체가 AccessibleEditableText 인터페이스를 지원할지 어떨지를 판정할 수 있습니다. 반환값이 null 가 아니면, 그 객체는 이 인터페이스를 지원하고 있습니다.
Accessible
,
Accessible.getAccessibleContext()
,
AccessibleContext
,
AccessibleContext.getAccessibleText()
,
AccessibleContext.getAccessibleEditableText()
필드의 개요 |
---|
인터페이스 javax.accessibility. AccessibleText 로부터 상속된 필드 |
---|
CHARACTER , SENTENCE , WORD |
메소드의 개요 | |
---|---|
void |
cut (int startIndex,
int endIndex)
2 개의 인덱스간의 텍스트를 잘라내, 시스템 클립보드에 포함합니다. |
void |
delete (int startIndex,
int endIndex)
2 개의 인덱스간의 텍스트를 삭제합니다. |
String |
getTextRange (int startIndex,
int endIndex)
2 개의 인덱스간의 텍스트 캐릭터 라인을 돌려줍니다. |
void |
insertTextAtIndex (int index,
String s)
지정된 캐릭터 라인이 지정된 인덱스에 삽입합니다. |
void |
paste (int startIndex)
시스템 클립보드의 텍스트를 지정한 인덱스로 시작되는 텍스트에 페이스트 합니다. |
void |
replaceText (int startIndex,
int endIndex,
String s)
2 개의 인덱스간의 텍스트를, 지정한 캐릭터 라인에 옮겨놓습니다. |
void |
selectText (int startIndex,
int endIndex)
2 개의 인덱스간의 텍스트를 선택합니다. |
void |
setAttributes (int startIndex,
int endIndex,
AttributeSet as)
2 개의 인덱스간의 텍스트의 속성을 설정합니다. |
void |
setTextContents (String s)
텍스트 컨텐츠를 지정 캐릭터 라인으로 설정합니다. |
인터페이스 javax.accessibility. AccessibleText 로부터 상속된 메소드 |
---|
getAfterIndex , getAtIndex , getBeforeIndex , getCaretPosition , getCharacterAttribute , getCharacterBounds , getCharCount , getIndexAtPoint , getSelectedText , getSelectionEnd , getSelectionStart |
메소드의 상세 |
---|
void setTextContents(String s)
s
- 텍스트 컨텐츠를 설정하는 캐릭터 라인void insertTextAtIndex(int index, String s)
index
- 캐릭터 라인을 삽입하는 텍스트의
인덱스s
- 텍스트에 삽입하는 캐릭터 라인String getTextRange(int startIndex, int endIndex)
startIndex
- 텍스트의 개시 인덱스endIndex
- 텍스트의 종료 인덱스
void delete(int startIndex, int endIndex)
startIndex
- 텍스트의 개시 인덱스endIndex
- 텍스트의 종료 인덱스void cut(int startIndex, int endIndex)
startIndex
- 텍스트의 개시 인덱스endIndex
- 텍스트의 종료 인덱스void paste(int startIndex)
startIndex
- 텍스트의 개시 인덱스void replaceText(int startIndex, int endIndex, String s)
startIndex
- 텍스트의 개시 인덱스endIndex
- 텍스트의 종료 인덱스s
- 2 개의 인덱스간의 텍스트를 옮겨놓는 캐릭터 라인void selectText(int startIndex, int endIndex)
startIndex
- 텍스트의 개시 인덱스endIndex
- 텍스트의 종료 인덱스void setAttributes(int startIndex, int endIndex, AttributeSet as)
startIndex
- 텍스트의 개시 인덱스endIndex
- 텍스트의 종료 인덱스as
- 속성 세트AttributeSet
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.