JavaTM 2 Platform
Standard Ed. 6

javax.swing.text.html
類別 HTMLEditorKit.HTMLFactory

java.lang.Object
  繼承者 javax.swing.text.html.HTMLEditorKit.HTMLFactory
所有已實作的介面:
ViewFactory
正在封閉類別:
HTMLEditorKit

public static class HTMLEditorKit.HTMLFactory
extends Object
implements ViewFactory

用於建構 HTML 視圖的處理器。下表描述了預設情況下此處理器所建構的視圖。

標記創建的視圖
HTML.Tag.CONTENTInlineView
HTML.Tag.IMPLIEDjavax.swing.text.html.ParagraphView
HTML.Tag.Pjavax.swing.text.html.ParagraphView
HTML.Tag.H1javax.swing.text.html.ParagraphView
HTML.Tag.H2javax.swing.text.html.ParagraphView
HTML.Tag.H3javax.swing.text.html.ParagraphView
HTML.Tag.H4javax.swing.text.html.ParagraphView
HTML.Tag.H5javax.swing.text.html.ParagraphView
HTML.Tag.H6javax.swing.text.html.ParagraphView
HTML.Tag.DTjavax.swing.text.html.ParagraphView
HTML.Tag.MENUListView
HTML.Tag.DIRListView
HTML.Tag.ULListView
HTML.Tag.OLListView
HTML.Tag.LIBlockView
HTML.Tag.DLBlockView
HTML.Tag.DDBlockView
HTML.Tag.BODYBlockView
HTML.Tag.HTMLBlockView
HTML.Tag.CENTERBlockView
HTML.Tag.DIVBlockView
HTML.Tag.BLOCKQUOTEBlockView
HTML.Tag.PREBlockView
HTML.Tag.BLOCKQUOTEBlockView
HTML.Tag.PREBlockView
HTML.Tag.IMGImageView
HTML.Tag.HRHRuleView
HTML.Tag.BRBRView
HTML.Tag.TABLEjavax.swing.text.html.TableView
HTML.Tag.INPUTFormView
HTML.Tag.SELECTFormView
HTML.Tag.TEXTAREAFormView
HTML.Tag.OBJECTObjectView
HTML.Tag.FRAMESETFrameSetView
HTML.Tag.FRAMEFrameView


建構子摘要
HTMLEditorKit.HTMLFactory()
           
 
方法摘要
 View create(Element elem)
          根據元素創建視圖。
 
從類別 java.lang.Object 繼承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

建構子詳細資訊

HTMLEditorKit.HTMLFactory

public HTMLEditorKit.HTMLFactory()
方法詳細資訊

create

public View create(Element elem)
根據元素創建視圖。

指定者:
介面 ViewFactory 中的 create
參數:
elem - 元素
返回:
視圖
另請參見:
View

JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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