com.im.ijc.widgets/1 5.9.1

com.im.ijc.widgets.common.table
Class IJCTables

java.lang.Object
  extended by com.im.ijc.widgets.common.table.IJCTables

public final class IJCTables
extends Object

Code common to IJC table or table-utilizing (Outline) widgets.


Method Summary
static JPopupMenu createCellPopupMenu(IJCWidget w, TableCellRenderer renderer)
           
static JPopupMenu createHeaderPopupMenu(IJCWidget w, JMenuItem... customMenuItems)
          Creates a popup menu for table header in table or row header in sheet widget.
static void provideCellPopupMenu(IJCWidget w, JTable table, Action hideColumnAction, Function<IJCWidget.Cacheable,Void> cacheableSetter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createHeaderPopupMenu

public static JPopupMenu createHeaderPopupMenu(IJCWidget w,
                                               JMenuItem... customMenuItems)
Creates a popup menu for table header in table or row header in sheet widget.

Parameters:
customMenuItems - action added into last section before CF and properties
Returns:
resulting popup menu

provideCellPopupMenu

public static void provideCellPopupMenu(IJCWidget w,
                                        JTable table,
                                        Action hideColumnAction,
                                        Function<IJCWidget.Cacheable,Void> cacheableSetter)

createCellPopupMenu

public static JPopupMenu createCellPopupMenu(IJCWidget w,
                                             TableCellRenderer renderer)

com.im.ijc.widgets/1 5.9.1