KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > plaf > basic > BasicMenuItemUI

javax.swing.plaf.basic
Class BasicMenuItemUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.MenuItemUI
              extended by javax.swing.plaf.basic.BasicMenuItemUI
Direct Known Subclasses:
BasicCheckBoxMenuItemUI, BasicMenuUI, BasicRadioButtonMenuItemUI
See Also:
Top Examples, Source Code

protected Font acceleratorFont
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color acceleratorForeground
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color acceleratorSelectionForeground
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Icon arrowIcon
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public BasicMenuItemUI()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Icon checkIcon
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected MenuDragMouseListener createMenuDragMouseListener(JComponent c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected MenuKeyListener createMenuKeyListener(JComponent c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected MouseInputListener createMouseInputListener(JComponent c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ComponentUI createUI(JComponent c)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int defaultTextIconGap
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color disabledForeground
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void doClick(MenuSelectionManager msm)
See Also:
AbstractButton.doClick(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMaximumSize(JComponent c)
See Also:
LayoutManager2.maximumLayoutSize(java.awt.Container), JComponent.getMaximumSize(), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getMinimumSize(JComponent c)
See Also:
ComponentUI.getPreferredSize(javax.swing.JComponent), LayoutManager.minimumLayoutSize(java.awt.Container), JComponent.getMinimumSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public MenuElement[] getPath()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Dimension getPreferredMenuItemSize(JComponent c,
                                             Icon checkIcon,
                                             Icon arrowIcon,
                                             int defaultTextIconGap)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Dimension getPreferredSize(JComponent c)
See Also:
LayoutManager.preferredLayoutSize(java.awt.Container), JComponent.getPreferredSize(), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String getPropertyPrefix()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installComponents(JMenuItem menuItem)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installDefaults()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installKeyboardActions()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void installListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void installUI(JComponent c)
See Also:
JComponent.updateUI(), JComponent.setUI(javax.swing.plaf.ComponentUI), ComponentUI
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected MenuDragMouseListener menuDragMouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected JMenuItem menuItem
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected MenuKeyListener menuKeyListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected MouseInputListener mouseInputListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected boolean oldBorderPainted
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g,
                  JComponent c)
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintBackground(Graphics g,
                               JMenuItem menuItem,
                               Color bgColor)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintMenuItem(Graphics g,
                             JComponent c,
                             Icon checkIcon,
                             Icon arrowIcon,
                             Color background,
                             Color foreground,
                             int defaultTextIconGap)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void paintText(Graphics g,
                         JMenuItem menuItem,
                         Rectangle textRect,
                         String text)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color selectionBackground
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Color selectionForeground
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallComponents(JMenuItem menuItem)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallDefaults()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallKeyboardActions()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void uninstallListeners()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void uninstallUI(JComponent c)
See Also:
JComponent.updateUI(), ComponentUI.installUI(javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void update(Graphics g,
                   JComponent c)
See Also:
JComponent.paintComponent(java.awt.Graphics), ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags