JavaTM Platform
Standard Ed. 6

클래스
javax.swing.text.html.HTMLDocument 의 사용

HTMLDocument 를 사용하고 있는 패키지
javax.swing.text.html HTML 텍스트 문자 편집기를 작성하기 위한 HTMLEditorKit 클래스와 지원 클래스를 제공합니다.  
 

javax.swing.text.html 에서의 HTMLDocument 의 사용
 

HTMLDocument 를 돌려주는 javax.swing.text.html 의 메소드
protected  HTMLDocument HTMLEditorKit.HTMLTextAction. getHTMLDocument (JEditorPane  e)
           
 

HTMLDocument 형의 파라미터를 가지는 javax.swing.text.html 의 메소드
protected  int HTMLEditorKit.HTMLTextAction. elementCountToTag (HTMLDocument  doc, int offset, HTML.Tag  tag)
          제일 깊은 잎으로부터 세어,tag 를 나타내는 요소에 도달할 때까지의 요소의 수를 돌려줍니다.
protected  Element HTMLEditorKit.HTMLTextAction. findElementMatchingTag (HTMLDocument  doc, int offset, HTML.Tag  tag)
          tag 에 일치하는 offset 에 위치하는, 제일 깊은 요소를 돌려줍니다.
protected  Element [] HTMLEditorKit.HTMLTextAction. getElementsAt (HTMLDocument  doc, int offset)
          offset 를 포함하는 요소로부터 완성되는 배열을 돌려줍니다.
protected  void HTMLEditorKit.InsertHTMLTextAction. insertAtBoundary (JEditorPane  editor, HTMLDocument  doc, int offset, Element  insertElement, String  html, HTML.Tag  parentTag, HTML.Tag  addTag)
          경계에 삽입할 경우에 불려 갑니다.
protected  void HTMLEditorKit.InsertHTMLTextAction. insertAtBoundry (JEditorPane  editor, HTMLDocument  doc, int offset, Element  insertElement, String  html, HTML.Tag  parentTag, HTML.Tag  addTag)
          추천 되고 있지 않습니다.  Java 2 플랫폼 v1. 3 에 대해 insertAtBoundary 를 사용해 주세요.
 void HTMLEditorKit. insertHTML (HTMLDocument  doc, int offset, String  html, int popDepth, int pushDepth, HTML.Tag  insertTag)
          기존의 문서에 HTML 를 삽입합니다.
protected  void HTMLEditorKit.InsertHTMLTextAction. insertHTML (JEditorPane  editor, HTMLDocument  doc, int offset, String  html, int popDepth, int pushDepth, HTML.Tag  addTag)
          HTMLEditorKit.insertHTML 를 위한 커버입니다.
 

HTMLDocument 형의 파라미터를 가지는 javax.swing.text.html 의 생성자
HTMLWriter (Writer  w, HTMLDocument  doc)
          새로운 HTMLWriter 를 작성합니다.
HTMLWriter (Writer  w, HTMLDocument  doc, int pos, int len)
          새로운 HTMLWriter 를 작성합니다.
 


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 도 참조해 주세요.