T
The type of data in the DataTable.
public void RowContextMenuPlugin(Menu<?> menu)
menu
The context menu to be associated with the rows.
public void onRowAdded(DataTable<T> dataTable, TableRow<T> tableRow)
Adds the context menu to the specified row when a new row is added to the DataTable.
dataTable
The DataTable to which this plugin is applied.
tableRow
The TableRow to which the context menu is added.
public Optional<RowContextMenuMeta<T>> getRowContextMenuMeta()
An Optional containing the context menu if set, or empty otherwise.