|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.MenuComponent | +--java.awt.MenuItem | +--java.awt.Menu | +--java.awt.PopupMenu | +--dyntable.BehTblContextMenu
$Id: BehTblContextMenu.java,v 1.0 2005/09/25 jDynTable@gmx.de $
The BehTblContextMenu is derived from java.awt.event.ActionListener.
This class implements the context menu for the behaveTable
Constructor Summary | |
---|---|
BehTblContextMenu(JDynTable tblPanel)
Constructs a new BehTblContextMenu for the given Jdyntable tblPanel |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
show(java.awt.Component comp,
int x,
int y)
The method show is overwritten to store the x- and y-coordinate |
Methods inherited from class java.awt.PopupMenu |
---|
addNotify, getAccessibleContext |
Methods inherited from class java.awt.Menu |
---|
add, add, addSeparator, countItems, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify |
Methods inherited from class java.awt.MenuItem |
---|
addActionListener, deleteShortcut, disable, enable, enable, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut |
Methods inherited from class java.awt.MenuComponent |
---|
dispatchEvent, getFont, getName, getParent, getPeer, postEvent, setFont, setName, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
---|
getFont, postEvent |
Constructor Detail |
public BehTblContextMenu(JDynTable tblPanel)
Method Detail |
public void show(java.awt.Component comp, int x, int y)
show
in class java.awt.PopupMenu
PopupMenu.show(java.awt.Component, int, int)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |