madkit.share
Class GenericTableMenu

java.lang.Object
  extended by madkit.share.GenericTableMenu
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class GenericTableMenu
extends java.lang.Object
implements java.awt.event.ActionListener


Constructor Summary
GenericTableMenu(GenericTable _table)
           
GenericTableMenu(GenericTable _table, java.lang.String[][] commands)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 void addCommand(java.lang.String item, java.lang.String action)
           
 javax.swing.JPopupMenu getPopup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericTableMenu

public GenericTableMenu(GenericTable _table)

GenericTableMenu

public GenericTableMenu(GenericTable _table,
                        java.lang.String[][] commands)
Method Detail

getPopup

public javax.swing.JPopupMenu getPopup()

addCommand

public void addCommand(java.lang.String item,
                       java.lang.String action)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener


Copyright © Madkit Team (O. Gutknecht, J. Ferber, F. Michel et al.) All Rights Reserved.