All Packages Class Hierarchy This Package Previous Next Index
Class guinea.awt.PopupMenuButton
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Label
|
+----guinea.awt.PopupMenuButton
- public class PopupMenuButton
- extends Label
- implements MouseListener
A component that pops up a pop-up menu when the mouse button is
pressed on the component.
Constructor Index
- ·
PopupMenuButton(PopupMenu)
-
- ·
PopupMenuButton(String, PopupMenu)
-
Method Index
- ·
mouseClicked(MouseEvent)
- Invoked when the mouse has been clicked on a component.
- ·
mouseEntered(MouseEvent)
- Invoked when the mouse enters a component.
- ·
mouseExited(MouseEvent)
- Invoked when the mouse exits a component.
- ·
mousePressed(MouseEvent)
- Pops up the popup menu.
- ·
mouseReleased(MouseEvent)
- Invoked when a mouse button has been released on a component.
Constructors
·
PopupMenuButton
public PopupMenuButton(PopupMenu menu)
·
PopupMenuButton
public PopupMenuButton(String text,
PopupMenu menu)
Methods
·
mouseClicked
public void mouseClicked(MouseEvent e)
- Invoked when the mouse has been clicked on a component. In
this component this event is ignored.
·
mousePressed
public void mousePressed(MouseEvent e)
- Pops up the popup menu. Invoked when a mouse button has been
pressed on a component.
·
mouseReleased
public void mouseReleased(MouseEvent e)
- Invoked when a mouse button has been released on a component.
In this component this event is ignored.
·
mouseEntered
public void mouseEntered(MouseEvent e)
- Invoked when the mouse enters a component. In this component
this event is ignored.
·
mouseExited
public void mouseExited(MouseEvent e)
- Invoked when the mouse exits a component. In this component
this event is ignored.
All Packages Class Hierarchy This Package Previous Next Index