com.im.ijc.widgets.common.table
Class IJCTables
java.lang.Object
com.im.ijc.widgets.common.table.IJCTables
public final class IJCTables
- extends Object
Code common to IJC table or table-utilizing (Outline) widgets.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)