JavaTM 2 Platform
Standard Ed. 6

類別 javax.swing.JPanel
的使用

使用 JPanel 的軟體套件
javax.swing 提供一組“輕量級”(全部是 Java 語言)元件,盡量讓這些元件在所有平臺上的工作方式都相同。 
javax.swing.colorchooser 包含供 JColorChooser 元件使用的類別和介面。 
javax.swing.plaf.basic 提供了根據基本外觀建構的使用者介面物件。 
javax.swing.plaf.metal 提供根據 Java 外觀(曾經代稱為 Metal)建構的使用者介面物件,Java 外觀是預設外觀。 
 

javax.swing 中 JPanel 的使用
 

javax.swing 中 JPanel 的子類別
static class JSpinner.DateEditor
          其模型為 SpinnerDateModel 的 JSpinner 編輯器。
static class JSpinner.DefaultEditor
          一個針對非常特殊編輯器的簡單基礎類別,該類別在 JFormattedTextField 中顯示模型的當前值的只讀視圖。
static class JSpinner.ListEditor
          其模型為 SpinnerListModel 的 JSpinner 編輯器。
static class JSpinner.NumberEditor
          其模型為 SpinnerNumberModel 的 JSpinner 編輯器。
 

javax.swing.colorchooser 中 JPanel 的使用
 

javax.swing.colorchooser 中 JPanel 的子類別
 class AbstractColorChooserPanel
          這是用於顏色選取器的抽象父級類別。
 

javax.swing.plaf.basic 中 JPanel 的使用
 

返回 JPanel 的 javax.swing.plaf.basic 中的方法
 JPanel BasicFileChooserUI.getAccessoryPanel()
           
 

參數型別為 JPanel 的 javax.swing.plaf.basic 中的方法
protected  void BasicPanelUI.installDefaults(JPanel p)
           
protected  void BasicPanelUI.uninstallDefaults(JPanel p)
           
 

javax.swing.plaf.metal 中 JPanel 的使用
 

返回 JPanel 的 javax.swing.plaf.metal 中的方法
protected  JPanel MetalFileChooserUI.createDetailsView(JFileChooser fc)
           
protected  JPanel MetalFileChooserUI.createList(JFileChooser fc)
           
protected  JPanel MetalFileChooserUI.getBottomPanel()
           
protected  JPanel MetalFileChooserUI.getButtonPanel()
           
 


JavaTM 2 Platform
Standard Ed. 6

提交錯誤或意見

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