|
IBM DB2 UDB Plugin Interface for Extending the Control Center |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CCMenuAction interface allows users to define a new menu item to be added
to a Control Center object. By default, new menu items will be added at the end of
an object's popup menu but before any Refresh and Filter menu items.
The Positionable
interface can be used to override the default behavior to
control the position of the popup menu item.
Note: If the object has a Control Center Refresh or Filter menu item, the new menu item will be inserted before the Refresh and Filter menu. The Control Center Refresh and Filter menu items are always at the end of the popup menu.
CCDefaultMenuAction
,
MultiSelectable
,
Positionable
,
Separator
,
SubMenuParent
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs. |
java.lang.String |
getMenuText()
Get the name of this action |
Method Detail |
public java.lang.String getMenuText()
public void actionPerformed(java.awt.event.ActionEvent e)
e.getSource()
returns a Vector of the selected objects. For existing Control Center objects,
e.getSource()
returns this CCMenuAction object.
Use e.getActionCommand()
to get the name of the selected object.
e
- Action event
|
IBM DB2 UDB Plugin Interface for Extending the Control Center |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(C)Copyright IBM Corp. 2002, 2004. All rights reserved.
Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.