JavaTM Platform
Standard Ed. 6

javax.swing.text.rtf
클래스 RTFEditorKit

java.lang.Object 
  상위를 확장 javax.swing.text.EditorKit 
      상위를 확장 javax.swing.text.DefaultEditorKit 
          상위를 확장 javax.swing.text.StyledEditorKit 
              상위를 확장 javax.swing.text.rtf.RTFEditorKit
모든 구현된 인터페이스:
Serializable , Cloneable


public class RTFEditorKit
extends StyledEditorKit

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
 
필드의 개요
 
클래스 javax.swing.text. DefaultEditorKit 로부터 상속된 필드
backwardAction , beepAction , beginAction , beginLineAction , beginParagraphAction , beginWordAction , copyAction , cutAction , defaultKeyTypedAction , deleteNextCharAction , deleteNextWordAction , deletePrevCharAction , deletePrevWordAction , downAction , endAction , endLineAction , EndOfLineStringProperty , endParagraphAction , endWordAction , forwardAction , insertBreakAction , insertContentAction , insertTabAction , nextWordAction , pageDownAction , pageUpAction , pasteAction , previousWordAction , readOnlyAction , selectAllAction , selectionBackwardAction , selectionBeginAction , selectionBeginLineAction , selectionBeginParagraphAction , selectionBeginWordAction , selectionDownAction , selectionEndAction , selectionEndLineAction , selectionEndParagraphAction , selectionEndWordAction , selectionForwardAction , selectionNextWordAction , selectionPreviousWordAction , selectionUpAction , selectLineAction , selectParagraphAction , selectWordAction , upAction , writableAction
 
생성자 의 개요
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
 

생성자 의 상세

RTFEditorKit

public RTFEditorKit()
RTFEditorKit 를 구축합니다.

메소드의 상세

getContentType

public String  getContentType()
이 킷이 지원하는 MIME 타입의 데이터를 가져옵니다. 이 킷은 text/rtf 타입을 지원합니다.

오버라이드(override):
클래스 DefaultEditorKit 내의 getContentType
반환값:
타입

read

public void read(InputStream  in,
                 Document  doc,
                 int pos)
          throws IOException ,
                 BadLocationException 
이 타입의 컨텐츠 핸들러에 적절한 형식이다고 예상되는 컨텐츠를, 지정한 스트림로부터 삽입합니다.

오버라이드(override):
클래스 DefaultEditorKit 내의 read
파라미터:
in - read원의 스트림
doc - 삽입처
pos - 컨텐츠를 배치한다 문서내의 위치
예외:
IOException - 입출력 에러가 발생했을 경우
BadLocationException - pos 가 문서내의 무효인 위치를 나타내는 경우

write

public void write(OutputStream  out,
                  Document  doc,
                  int pos,
                  int len)
           throws IOException ,
                  BadLocationException 
이 타입의 컨텐츠 핸들러에 적절한 형식에서, 문서로부터 스트림에 컨텐츠를 기입합니다.

오버라이드(override):
클래스 DefaultEditorKit 내의 write
파라미터:
out - 기입처의 스트림
doc - 기입원
pos - 컨텐츠를 취득한다 문서내의 위치
len - 써내는 양
예외:
IOException - 입출력 에러가 발생했을 경우
BadLocationException - pos 가 문서내의 무효인 위치를 나타내는 경우

read

public void read(Reader  in,
                 Document  doc,
                 int pos)
          throws IOException ,
                 BadLocationException 
지정된 스트림로부터 컨텐츠를 삽입합니다. plaintext로서 다루어집니다.

오버라이드(override):
클래스 DefaultEditorKit 내의 read
파라미터:
in - read원의 스트림
doc - 삽입처
pos - 컨텐츠를 배치한다 문서내의 위치
예외:
IOException - 입출력 에러가 발생했을 경우
BadLocationException - pos 가 문서내의 무효인 위치를 나타내는 경우

write

public void write(Writer  out,
                  Document  doc,
                  int pos,
                  int len)
           throws IOException ,
                  BadLocationException 
문서의 컨텐츠를, 지정된 스트림에 plaintext로서 기입합니다.

오버라이드(override):
클래스 DefaultEditorKit 내의 write
파라미터:
out - 기입처의 스트림
doc - 기입원
pos - 컨텐츠를 취득한다 문서내의 위치
len - 써내는 양
예외:
IOException - 입출력 에러가 발생했을 경우
BadLocationException - pos 가 문서내의 무효인 위치를 나타내는 경우

JavaTM Platform
Standard Ed. 6

버그의 보고와 기능의 요청
한층 더 자세한 API 레퍼런스 및 개발자 문서에 대해서는,Java SE 개발자용 문서를 참조해 주세요. 개발자전용의 상세한 해설, 개념의 개요, 용어의 정의, 버그의 회피책, 및 코드 실례가 포함되어 있습니다.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.