Inherits javax::swing::JPopupMenu, and java::awt::event::ActionListener.
Classes | |
class | CustomFileChooser |
class | TextTransfer |
Public Member Functions | |
TablePopupMenu (LoggingClient logCli, LogEntryTable table) | |
void | actionPerformed (ActionEvent e) |
void | show (Component invoker, int x, int y, int row, String txt) |
The JPopupMenu displayed when the user presses the right mouse button over a row of the table
alma.acs.logging.table.TablePopupMenu.TablePopupMenu | ( | LoggingClient | logCli, | |
LogEntryTable | table | |||
) |
Constructor
row | The row below the mouse pointer | |
col | The col below he pointer | |
text | The text below the pointer | |
logCli | The LoggingClient |
References alma.acs.logging.table.LogEntryTable.getLCModel().
void alma.acs.logging.table.TablePopupMenu.actionPerformed | ( | ActionEvent | e | ) |
Handle the events from the menu
e | The event |
References com.cosylab.logging.engine.log.ILogEntry.addData(), com.cosylab.logging.LoggingClient.addErrorTab(), com.cosylab.logging.settings.UserInfoDlg.getInfo(), com.cosylab.logging.settings.UserInfoDlg.getInfoName(), alma.acs.logging.table.LogEntryTableModelBase.getVisibleLogEntry(), com.cosylab.logging.settings.UserInfoDlg.okPressed(), alma.acs.logging.table.LogEntryTableModelBase.replaceLog(), com.cosylab.logging.LoggingClient.setLogDetailContent(), and alma.acs.logging.table.LogEntryTable.zoom().
void alma.acs.logging.table.TablePopupMenu.show | ( | Component | invoker, | |
int | x, | |||
int | y, | |||
int | row, | |||
String | txt | |||
) |
Show the popup menu
invoker | the component in whose space the popup menu is to appear | |
x | the x coordinate in invoker's coordinate space at which the popup menu is to be displayed | |
y | the y coordinate in invoker's coordinate space at which the popup menu is to be displayed | |
row | The row below the pointer | |
col | The col below the pointer | |
txt | The text below the pointer |
References com.cosylab.logging.engine.log.ILogEntry.getField(), alma.acs.logging.table.LogEntryTableModelBase.getVisibleLogEntry(), com.cosylab.logging.LoggingClient.getZoomManager(), and alma.acs.logging.archive.zoom.ZoomManager.isAvailable().