Java プラットフォーム 1.2

javax.swing.plaf.metal
クラス MetalComboBoxUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.ComboBoxUI
              |
              +--javax.swing.plaf.basic.BasicComboBoxUI
                    |
                    +--javax.swing.plaf.metal.MetalComboBoxUI

public class MetalComboBoxUI
extends BasicComboBoxUI

JComboBox 用の Metal UI です。

警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です。

関連項目:
MetalComboBoxListCellRenderer, MetalPopupMenuBorder

内部クラスの概要
 class MetalComboBoxUI.MetalComboBoxLayoutManager
          この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。
 class MetalComboBoxUI.MetalComboPopup
          この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。
 class MetalComboBoxUI.MetalPropertyChangeListener
          この内部クラスは public とマークされますが、これはコンパイラのバグが原因です。
 
クラス javax.swing.plaf.basic.BasicComboBoxUI から継承した内部クラス
BasicComboBoxUI.ComboBoxLayoutManager, BasicComboBoxUI.FocusHandler, BasicComboBoxUI.ItemHandler, BasicComboBoxUI.KeyHandler, BasicComboBoxUI.ListDataHandler, BasicComboBoxUI.PropertyChangeHandler
 
クラス javax.swing.plaf.basic.BasicComboBoxUI から継承したフィールド
arrowButton, cachedMinimumSize, comboBox, currentValuePane, editor, focusListener, hasFocus, isMinimumSizeDirty, itemListener, keyListener, listBox, listDataListener, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener, propertyChangeListener
 
コンストラクタの概要
MetalComboBoxUI()
           
 
メソッドの概要
 void configureArrowButton()
           
 void configureEditor()
           
protected  JButton createArrowButton()
           
protected  ComboBoxEditor createEditor()
           
protected  LayoutManager createLayoutManager()
           
protected  ComboPopup createPopup()
           
 PropertyChangeListener createPropertyChangeListener()
           
static ComponentUI createUI(JComponent c)
           
protected  void editablePropertyChanged(PropertyChangeEvent e)
           
 Dimension getMinimumSize(JComponent c)
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
 void installUI(JComponent c)
           
 boolean isFocusTraversable(JComboBox c)
           
 void layoutComboBox(Container parent, MetalComboBoxUI.MetalComboBoxLayoutManager manager)
           
 void paint(Graphics g, JComponent c)
           
protected  void removeListeners()
           
protected  void selectNextPossibleValue()
           
protected  void selectPreviousPossibleValue()
           
 void unconfigureArrowButton()
           
 void unconfigureEditor()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
クラス javax.swing.plaf.basic.BasicComboBoxUI から継承したメソッド
addEditor, createFocusListener, createItemListener, createKeyListener, createListDataListener, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getPreferredSize, installComponents, installDefaults, isNavigationKey, isPopupVisible, paintCurrentValue, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, setPopupVisible, toggleOpenClose, uninstallComponents, uninstallDefaults
 
クラス javax.swing.plaf.ComponentUI から継承したメソッド
contains, update
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MetalComboBoxUI

public MetalComboBoxUI()
メソッドの詳細

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
オーバーライド:
クラス BasicComboBoxUI 内の installUI

uninstallUI

public void uninstallUI(JComponent c)
オーバーライド:
クラス BasicComboBoxUI 内の uninstallUI

paint

public void paint(Graphics g,
                  JComponent c)
オーバーライド:
クラス BasicComboBoxUI 内の paint

createEditor

protected ComboBoxEditor createEditor()
オーバーライド:
クラス BasicComboBoxUI 内の createEditor

createPopup

protected ComboPopup createPopup()
オーバーライド:
クラス BasicComboBoxUI 内の createPopup

createArrowButton

protected JButton createArrowButton()
オーバーライド:
クラス BasicComboBoxUI 内の createArrowButton

createPropertyChangeListener

public PropertyChangeListener createPropertyChangeListener()
オーバーライド:
クラス BasicComboBoxUI 内の createPropertyChangeListener

editablePropertyChanged

protected void editablePropertyChanged(PropertyChangeEvent e)

createLayoutManager

protected LayoutManager createLayoutManager()
オーバーライド:
クラス BasicComboBoxUI 内の createLayoutManager

layoutComboBox

public void layoutComboBox(Container parent,
                           MetalComboBoxUI.MetalComboBoxLayoutManager manager)

isFocusTraversable

public boolean isFocusTraversable(JComboBox c)
オーバーライド:
クラス BasicComboBoxUI 内の isFocusTraversable

installListeners

protected void installListeners()
オーバーライド:
クラス BasicComboBoxUI 内の installListeners

uninstallListeners

protected void uninstallListeners()
オーバーライド:
クラス BasicComboBoxUI 内の uninstallListeners

removeListeners

protected void removeListeners()

configureEditor

public void configureEditor()
オーバーライド:
クラス BasicComboBoxUI 内の configureEditor

unconfigureEditor

public void unconfigureEditor()
オーバーライド:
クラス BasicComboBoxUI 内の unconfigureEditor

configureArrowButton

public void configureArrowButton()
オーバーライド:
クラス BasicComboBoxUI 内の configureArrowButton

unconfigureArrowButton

public void unconfigureArrowButton()
オーバーライド:
クラス BasicComboBoxUI 内の unconfigureArrowButton

getMinimumSize

public Dimension getMinimumSize(JComponent c)
オーバーライド:
クラス BasicComboBoxUI 内の getMinimumSize

selectNextPossibleValue

protected void selectNextPossibleValue()
オーバーライド:
クラス BasicComboBoxUI 内の selectNextPossibleValue

selectPreviousPossibleValue

protected void selectPreviousPossibleValue()
オーバーライド:
クラス BasicComboBoxUI 内の selectPreviousPossibleValue

installKeyboardActions

protected void installKeyboardActions()
オーバーライド:
クラス BasicComboBoxUI 内の installKeyboardActions

uninstallKeyboardActions

protected void uninstallKeyboardActions()
オーバーライド:
クラス BasicComboBoxUI 内の uninstallKeyboardActions

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.