JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.plaf.basic
クラス BasicPopupMenuUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.PopupMenuUI
              |
              +--javax.swing.plaf.basic.BasicPopupMenuUI

public class BasicPopupMenuUI
extends PopupMenuUI

PopupMenuUI の Windows Look & Feel による実装です。この実装は、ビューとコントローラを一体化したものです。


フィールドの概要
protected  JPopupMenu popupMenu
           
 
コンストラクタの概要
BasicPopupMenuUI()
           
 
メソッドの概要
static ComponentUI createUI(JComponent x)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
 Dimension getPreferredSize(JComponent c)
           
 void installDefaults()
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
 void installUI(JComponent c)
           
 boolean isPopupTrigger(MouseEvent e)
           
protected  void uninstallDefaults()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
クラス javax.swing.plaf.ComponentUI から継承したメソッド
contains, getAccessibleChild, getAccessibleChildrenCount, paint, update
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

popupMenu

protected JPopupMenu popupMenu
コンストラクタの詳細

BasicPopupMenuUI

public BasicPopupMenuUI()
メソッドの詳細

createUI

public static ComponentUI createUI(JComponent x)

installUI

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

installDefaults

public void installDefaults()

installListeners

protected void installListeners()

installKeyboardActions

protected void installKeyboardActions()

uninstallUI

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

uninstallDefaults

protected void uninstallDefaults()

uninstallListeners

protected void uninstallListeners()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

getMinimumSize

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

getPreferredSize

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

getMaximumSize

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

isPopupTrigger

public boolean isPopupTrigger(MouseEvent e)
オーバーライド:
クラス PopupMenuUI 内の isPopupTrigger

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.