Interface SelectableTablePmo<ROW>

  • All Superinterfaces:
    ContainerPmo<ROW>

    @BindTableSelection
    public interface SelectableTablePmo<ROW>
    extends ContainerPmo<ROW>
    PMO for a table whose rows can be selected. In addition, a double click action can be bound to the rows.
    • Method Detail

      • getSelection

        ROW getSelection()
        Returns the currently selected row.
      • setSelection

        void setSelection​(ROW selectedRow)
        Sets the currently selected row.
      • onDoubleClick

        void onDoubleClick()
        Action that should be executed when a double click is made on a row.
        Implementation Requirements:
        As a single click triggers the selection, implementer can assume that setSelection(Object) has already been called before this method is invoked. Thus, it is safe to assume that the row that is being clicked on is identical to getSelection().