JavaTM 2 Platform
Standard Ed. 6

介面 javax.swing.event.DocumentEvent.ElementChange
的使用

使用 DocumentEvent.ElementChange 的軟體套件
javax.swing.event 供 Swing 元件觸發的事件使用。 
javax.swing.text 提供類別 HTMLEditorKit 和創建 HTML 文本編輯器的支持類別。 
 

javax.swing.event 中 DocumentEvent.ElementChange 的使用
 

返回 DocumentEvent.ElementChange 的 javax.swing.event 中的方法
 DocumentEvent.ElementChange DocumentEvent.getChange(Element elem)
          獲得給定元素的更改資訊。
 

javax.swing.text 中 DocumentEvent.ElementChange 的使用
 

實作 DocumentEvent.ElementChange 的 javax.swing.text 中的類別
static class AbstractDocument.ElementEdit
          一個 ElementChange 實作,可將其添加到文檔事件中。
 

返回 DocumentEvent.ElementChange 的 javax.swing.text 中的方法
 DocumentEvent.ElementChange AbstractDocument.DefaultDocumentEvent.getChange(Element elem)
          獲得元素的更改。
 

參數型別為 DocumentEvent.ElementChange 的 javax.swing.text 中的方法
protected  void BoxView.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 View.forwardUpdate(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a, ViewFactory f)
          將給定的 DocumentEvent 轉發給需要被通知模型更改的子視圖。
protected  boolean ZoneView.updateChildren(DocumentEvent.ElementChange ec, DocumentEvent e, ViewFactory f)
          父級類別行為將試圖更新子視圖,而在這種情況下並不需要這樣做,因為子級是分區並且不受關聯元素變化的直接影響。
protected  boolean View.updateChildren(DocumentEvent.ElementChange ec, DocumentEvent e, ViewFactory f)
          更新子視圖以回應接收模型變化的通知,並且有一條此視圖負責的元素的變化記錄。
protected  void AsyncBoxView.updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a)
          更新佈局,以回應從模型接收的更改通知。
protected  void View.updateLayout(DocumentEvent.ElementChange ec, DocumentEvent e, Shape a)
          更新佈局,以回應從模型接受的更改通知。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。