JavaTM 2 Platform
Standard Ed. 6

類別 java.util.Dictionary
的使用

使用 Dictionary 的軟體套件
java.security 為安全框架提供類別和介面。 
java.util 包含 collection 框架、遺留的 collection 類別、事件模型、日期和時間設施、國際化和各種實用工具類別(字元串標記產生器、隨機數產生器和位元陣列)。 
javax.swing 提供一組“輕量級”(全部是 Java 語言)元件,盡量讓這些元件在所有平臺上的工作方式都相同。 
javax.swing.text 提供類別 HTMLEditorKit 和創建 HTML 文本編輯器的支持類別。 
 

java.security 中 Dictionary 的使用
 

java.security 中 Dictionary 的子類別
 class AuthProvider
          此類別定義 provider 的登錄和註銷方法。
 class Provider
          此類別表示 Java 安全 API "provider",這裡 provider 實作了 Java 安全性的一部分或者全部。
 

java.util 中 Dictionary 的使用
 

java.util 中 Dictionary 的子類別
 class Hashtable<K,V>
          此類別實作一個雜湊表,該雜湊表將鍵映射到相應的值。
 class Properties
          Properties 類別表示了一個持久的屬性集。
 

javax.swing 中 Dictionary 的使用
 

javax.swing 中 Dictionary 的子類別
 class UIDefaults
          Swing 元件的預設值表。
 

返回 Dictionary 的 javax.swing 中的方法
 Dictionary JSlider.getLabelTable()
          返回哪些標籤在哪些值處繪製的字典。
 

參數型別為 Dictionary 的 javax.swing 中的方法
 void JSlider.setLabelTable(Dictionary labels)
          用於指定將在給定值處繪製哪個標籤。
 

javax.swing.text 中 Dictionary 的使用
 

返回 Dictionary 的 javax.swing.text 中的方法
 Dictionary<Object,Object> AbstractDocument.getDocumentProperties()
          支持管理屬性集。
 

參數型別為 Dictionary 的 javax.swing.text 中的方法
 void AbstractDocument.setDocumentProperties(Dictionary<Object,Object> x)
          替換此文檔的文檔屬性字典。
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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