net.sf.doolin.gui.field.table.header.support
Class DefaultGUITableHeaderMenuFactory<V,E>

java.lang.Object
  extended by net.sf.doolin.gui.field.table.header.support.DefaultGUITableHeaderMenuFactory<V,E>
Type Parameters:
V - Type of object for the view
E - Type of item in the table
All Implemented Interfaces:
GUITableHeaderMenuFactory<V,E>

public class DefaultGUITableHeaderMenuFactory<V,E>
extends Object
implements GUITableHeaderMenuFactory<V,E>

Default implementation for the contextual menu factory.

Author:
Damien Coraboeuf

Constructor Summary
DefaultGUITableHeaderMenuFactory()
           
 
Method Summary
 JPopupMenu createMenu(GUITable<V,E> table)
          Creates a menu for the table header
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultGUITableHeaderMenuFactory

public DefaultGUITableHeaderMenuFactory()
Method Detail

createMenu

public JPopupMenu createMenu(GUITable<V,E> table)
Description copied from interface: GUITableHeaderMenuFactory
Creates a menu for the table header

Specified by:
createMenu in interface GUITableHeaderMenuFactory<V,E>
Parameters:
table - Table
Returns:
Menu to display or null if none is available


Copyright © 2011. All Rights Reserved.