JavaTM Platform
Standard Ed. 6

인터페이스
javax.swing.event.DocumentEvent 의 사용

DocumentEvent 를 사용하고 있는 패키지
javax.swing.event Swing 컴퍼넌트에 의해 트리거되는 이벤트를 제공합니다.  
javax.swing.text 편집 가능한 텍스트 컴퍼넌트와 편집 불능인 텍스트 컴퍼넌트를 처리하는 클래스와 인터페이스를 제공합니다.  
javax.swing.text.html HTML 텍스트 문자 편집기를 작성하기 위한 HTMLEditorKit 클래스와 지원 클래스를 제공합니다.  
 

javax.swing.event 에서의 DocumentEvent 의 사용
 

DocumentEvent 형의 파라미터를 가지는 javax.swing.event 의 메소드
 void DocumentListener. changedUpdate (DocumentEvent  e)
          속성 또는 속성 세트가 변경된 것을 통지합니다.
 void DocumentListener. insertUpdate (DocumentEvent  e)
          문서에의 삽입이 있던 것을 통지합니다.
 void DocumentListener. removeUpdate (DocumentEvent  e)
          문서의 일부가 삭제된 것을 통지합니다.
 

javax.swing.text 에서의 DocumentEvent 의 사용
 

DocumentEvent 를 구현하고 있는 javax.swing.text 의 클래스
 class AbstractDocument.DefaultDocumentEvent
          문서가 변경되었을 경우에, 문서의 변경을 포함합니다.
 

DocumentEvent 형의 파라미터를 가지는 javax.swing.text 의 메소드
 void JTextComponent.AccessibleJTextComponent. changedUpdate (DocumentEvent  e)
          문서의 삭제를 처리합니다 (AccessibleContext.ACCESSIBLE_TEXT_PROPERTY 라고 하는 적절한 프로퍼티 변경 이벤트를 트리거한다).
 void View. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void PlainView. changedUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void WrappedPlainView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void ParagraphView. changedUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void LabelView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void GlyphView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void FlowView. changedUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void FlowView.FlowStrategy. changedUpdate (FlowView  fv, DocumentEvent  e, Rectangle  alloc)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
protected  void AbstractDocument. fireChangedUpdate (DocumentEvent  e)
          통지의 전달 대상을, 지정된 이벤트형으로 등록한 모든 청취자에게 통지합니다.
protected  void AbstractDocument. fireInsertUpdate (DocumentEvent  e)
          통지의 전달 대상을, 지정된 이벤트형으로 등록한 모든 청취자에게 통지합니다.
protected  void AbstractDocument. fireRemoveUpdate (DocumentEvent  e)
          통지의 전달 대상을, 지정된 이벤트형으로 등록한 모든 청취자에게 통지합니다.
protected  void View. forwardUpdate (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a, ViewFactory  f)
          지정된 DocumentEvent 을 모델의 변경 통지가 필요한 아이 뷰에 전송 합니다.
protected  void TableView. forwardUpdate (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a, ViewFactory  f)
           
protected  void BoxView. forwardUpdate (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a, ViewFactory  f)
          지정된 DocumentEvent 를 모델의 변경 통지가 필요한 아이 뷰에 전송 합니다.
protected  void View. forwardUpdateToView (View  v, DocumentEvent  e, Shape  a, ViewFactory  f)
          지정된 아이 뷰에 DocumentEvent 를 전송 합니다.
 void JTextComponent.AccessibleJTextComponent. insertUpdate (DocumentEvent  e)
          문서의 삽입을 처리합니다 (AccessibleContext.ACCESSIBLE_TEXT_PROPERTY 라고 하는 적절한 프로퍼티 변경 이벤트를 트리거한다).
 void View. insertUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void FieldView. insertUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void PlainView. insertUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void ZoneView. insertUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void WrappedPlainView. insertUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void GlyphView. insertUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void FlowView. insertUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void FlowView.FlowStrategy. insertUpdate (FlowView  fv, DocumentEvent  e, Rectangle  alloc)
          이 뷰가 담당하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void JTextComponent.AccessibleJTextComponent. removeUpdate (DocumentEvent  e)
          문서의 삭제를 처리합니다 (AccessibleContext.ACCESSIBLE_TEXT_PROPERTY 라고 하는 적절한 프로퍼티 변경 이벤트를 트리거한다).
 void View. removeUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void FieldView. removeUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void PlainView. removeUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void ZoneView. removeUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void WrappedPlainView. removeUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void GlyphView. removeUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void FlowView. removeUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 void FlowView.FlowStrategy. removeUpdate (FlowView  fv, DocumentEvent  e, Rectangle  alloc)
          이 뷰가 담당하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
protected  boolean View. updateChildren (DocumentEvent.ElementChange  ec, DocumentEvent  e, ViewFactory  f)
          모델이 변경되었다고 하는 통지를 받으면(자), 아이 뷰를 갱신합니다.
protected  boolean ZoneView. updateChildren (DocumentEvent.ElementChange  ec, DocumentEvent  e, ViewFactory  f)
          슈퍼 클래스의 동작에 의해, 아이 뷰의 갱신이 시도됩니다.
protected  void PlainView. updateDamage (DocumentEvent  changes, Shape  a, ViewFactory  f)
          지정된 문서 이벤트로 커버되는 변경 영역을 재그립니다.
protected  void View. updateLayout (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a)
          모델로부터 변경의 통지를 받았을 경우에, 레이아웃을 갱신합니다.
protected  void AsyncBoxView. updateLayout (DocumentEvent.ElementChange  ec, DocumentEvent  e, Shape  a)
          모델로부터 변경의 통지를 받았을 경우에, 레이아웃을 갱신합니다.
 

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

DocumentEvent 형의 파라미터를 가지는 javax.swing.text.html 의 메소드
 void InlineView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 속성이 변경된 것을 문서로부터 통지합니다.
 void ImageView. changedUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          Elements 속성의 변경시에 불려 갑니다.
 void BlockView. changedUpdate (DocumentEvent  changes, Shape  a, ViewFactory  f)
           
protected  void HTMLDocument. fireChangedUpdate (DocumentEvent  e)
          통지의 전달 대상을, 지정된 이벤트형으로 등록한 모든 청취자에게 통지합니다.
 void InlineView. insertUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 위치에서 문서에 무엇인가가 삽입된 것을 통지합니다.
 void InlineView. removeUpdate (DocumentEvent  e, Shape  a, ViewFactory  f)
          이 뷰가 취급하는 문서내의 위치로부터 무엇인가가 삭제되었다고 하는 것을 통지합니다.
 


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