|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJPopupMenuOwner
Defines methods required by a JPopupMenu
owner.
Method Summary | |
---|---|
void |
addToPopupMenu(Action action)
Add the given action into the popup menu. |
void |
addToPopupMenu(JMenuItem menuItem)
Add the given menu item into the popup menu. |
void |
insertIntoPopupMenu(Action action,
int index)
Insert the given action into the popup menu at the given index. |
void |
insertIntoPopupMenu(JMenuItem menuItem,
int index)
Insert the given menu item into the popup menu at the given index. |
Method Detail |
---|
void addToPopupMenu(Action action)
action
- The Action
object to add.void addToPopupMenu(JMenuItem menuItem)
menuItem
- The JMenuItem
object to add.void insertIntoPopupMenu(Action action, int index)
action
- The Action
object to insert.index
- Specifies the position at which to insert the
Action
, where 0 is the first.void insertIntoPopupMenu(JMenuItem menuItem, int index)
menuItem
- The JMenuItem
object to insert.index
- Specifies the position at which to insert the menu
item, where 0 is the first.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |