All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.basic.BasicMenuUtilities
java.lang.Object
|
+----java.awt.swing.basic.BasicMenuUtilities
- public class BasicMenuUtilities
- extends Object
A Windows L&F implementation of MenuUI. This implementation
is a "combined" view/controller.
BasicMenuUtilities()
-
getMenuComponentAt(JMenu, int, int)
-
getMenuComponentAt(JMenuBar, int, int)
- Returns the subcomponent at the given coordinates in this
menubar's coordinate space.
getMenuComponentAt(JPopupMenu, int, int)
- Returns the menu subcomponent at the given coordinates in this
menu's coordinate space.
getTranslatedPoint(JMenu, int, int, Component, Component)
- Returns the given point in the from components coordinate
space translated into the to components coordinate space.
getTranslatedPoint(JMenuBar, int, int, Component, Component)
- Returns the given point in the from components coordinate
space translated into the to components coordinate space.
getTranslatedPoint(JPopupMenu, int, int, Component, Component)
- Returns the given point in the from components coordinate
space translated into the to components coordinate space.
BasicMenuUtilities
public BasicMenuUtilities()
getMenuComponentAt
public static Component getMenuComponentAt(JMenuBar menuBar,
int x,
int y)
- Returns the subcomponent at the given coordinates in this
menubar's coordinate space.
getMenuComponentAt
public static Component getMenuComponentAt(JMenu menu,
int x,
int y)
getMenuComponentAt
public static Component getMenuComponentAt(JPopupMenu popupMenu,
int x,
int y)
- Returns the menu subcomponent at the given coordinates in this
menu's coordinate space.
getTranslatedPoint
public static Point getTranslatedPoint(JMenuBar menuBar,
int x,
int y,
Component from,
Component to)
- Returns the given point in the from components coordinate
space translated into the to components coordinate space.
The from component is expected to be a menu-parent of
the to component.
getTranslatedPoint
public static Point getTranslatedPoint(JPopupMenu popupMenu,
int x,
int y,
Component from,
Component to)
- Returns the given point in the from components coordinate
space translated into the to components coordinate space.
The from component is expected to parent the to
component.
getTranslatedPoint
public static Point getTranslatedPoint(JMenu menu,
int x,
int y,
Component from,
Component to)
- Returns the given point in the from components coordinate
space translated into the to components coordinate space.
The from component is expected to be a menu-parent of
the to component.
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature