Interface ICellEditHandler
- All Known Implementing Classes:
DialogEditHandler,InlineEditHandler
public interface ICellEditHandler
Handles the updating of the data bean with the new value provided by the
ICellEditor.-
Method Summary
Modifier and TypeMethodDescriptionbooleancommit(Object canonicalValue, SelectionLayer.MoveDirectionEnum direction) Commit the new value and handle the selection in the current NatTable after commit.
-
Method Details
-
commit
Commit the new value and handle the selection in the current NatTable after commit. This is necessary to support spreadsheet like behaviour, e.g. after committing a value entered in a text editor by pressing tab, the selection should move to the right. To avoid unnecessary dependencies in the editors itself, this is handled in here.- Parameters:
canonicalValue- The value to commit.direction- The direction to move the selection after commit.- Returns:
trueif the data update succeeded,falseif something went wrong
-