|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
java.lang.Objectjavax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
javax.swing.text.rtf.RTFEditorKit
public class RTFEditorKit
RTF 편집 기능의 디폴트의 구현입니다. RTF 지원는 Swing 팀에 의해 작성된 것이 아닙니다. 장래, RTF 지원에 대응할 수 있도록(듯이) 해 나갈 예정입니다.
상자의 클래스의 개요 |
---|
클래스 javax.swing.text. StyledEditorKit 로부터 상속된 상자의 클래스/인터페이스 |
---|
StyledEditorKit.AlignmentAction , StyledEditorKit.BoldAction , StyledEditorKit.FontFamilyAction , StyledEditorKit.FontSizeAction , StyledEditorKit.ForegroundAction , StyledEditorKit.ItalicAction , StyledEditorKit.StyledTextAction , StyledEditorKit.UnderlineAction |
클래스 javax.swing.text. DefaultEditorKit 로부터 상속된 상자의 클래스/인터페이스 |
---|
DefaultEditorKit.BeepAction , DefaultEditorKit.CopyAction , DefaultEditorKit.CutAction , DefaultEditorKit.DefaultKeyTypedAction , DefaultEditorKit.InsertBreakAction , DefaultEditorKit.InsertContentAction , DefaultEditorKit.InsertTabAction , DefaultEditorKit.PasteAction |
필드의 개요 |
---|
생성자 의 개요 | |
---|---|
RTFEditorKit ()
RTFEditorKit 를 구축합니다. |
메소드의 개요 | |
---|---|
String |
getContentType ()
이 킷이 지원하는 MIME 타입의 데이터를 가져옵니다. |
void |
read (InputStream in,
Document doc,
int pos)
이 타입의 컨텐츠 핸들러에 적절한 형식이다고 예상되는 컨텐츠를, 지정한 스트림로부터 삽입합니다. |
void |
read (Reader in,
Document doc,
int pos)
지정된 스트림로부터 컨텐츠를 삽입합니다. |
void |
write (OutputStream out,
Document doc,
int pos,
int len)
이 타입의 컨텐츠 핸들러에 적절한 형식에서, 문서로부터 스트림에 컨텐츠를 기입합니다. |
void |
write (Writer out,
Document doc,
int pos,
int len)
문서의 컨텐츠를, 지정된 스트림에 plaintext로서 기입합니다. |
클래스 javax.swing.text. StyledEditorKit 로부터 상속된 메소드 |
---|
clone , createDefaultDocument , createInputAttributes , deinstall , getActions , getCharacterAttributeRun , getInputAttributes , getViewFactory , install |
클래스 javax.swing.text. DefaultEditorKit 로부터 상속된 메소드 |
---|
createCaret |
클래스 java.lang. Object 로부터 상속된 메소드 |
---|
equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
생성자 의 상세 |
---|
public RTFEditorKit()
메소드의 상세 |
---|
public String getContentType()
text/rtf
타입을 지원합니다.
DefaultEditorKit
내의 getContentType
public void read(InputStream in, Document doc, int pos) throws IOException , BadLocationException
DefaultEditorKit
내의 read
in
- read원의 스트림doc
- 삽입처pos
- 컨텐츠를 배치한다
문서내의 위치
IOException
- 입출력 에러가 발생했을 경우
BadLocationException
- pos 가 문서내의
무효인 위치를 나타내는 경우public void write(OutputStream out, Document doc, int pos, int len) throws IOException , BadLocationException
DefaultEditorKit
내의 write
out
- 기입처의 스트림doc
- 기입원pos
- 컨텐츠를 취득한다
문서내의 위치len
- 써내는 양
IOException
- 입출력 에러가 발생했을 경우
BadLocationException
- pos 가 문서내의
무효인 위치를 나타내는 경우public void read(Reader in, Document doc, int pos) throws IOException , BadLocationException
DefaultEditorKit
내의 read
in
- read원의 스트림doc
- 삽입처pos
- 컨텐츠를 배치한다
문서내의 위치
IOException
- 입출력 에러가 발생했을 경우
BadLocationException
- pos 가 문서내의
무효인 위치를 나타내는 경우public void write(Writer out, Document doc, int pos, int len) throws IOException , BadLocationException
DefaultEditorKit
내의 write
out
- 기입처의 스트림doc
- 기입원pos
- 컨텐츠를 취득한다
문서내의 위치len
- 써내는 양
IOException
- 입출력 에러가 발생했을 경우
BadLocationException
- pos 가 문서내의
무효인 위치를 나타내는 경우
|
JavaTM Platform Standard Ed. 6 |
|||||||||
전의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요 : 상자 | 필드 | 생성자 | 메소드 | 상세: 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.