PL-6886 Ability to disable selection in Table

This commit is contained in:
Nikita Petunin 2016-03-16 14:00:48 +04:00
parent 3a8af30801
commit ca355ba2b0
2 changed files with 7 additions and 3 deletions

View File

@ -2279,8 +2279,8 @@ public abstract class DesktopAbstractTable<C extends JXTable, E extends Entity>
}
@Override
public void setShowSelection(boolean show) {
showSelection = show;
public void setShowSelection(boolean showSelection) {
this.showSelection = showSelection;
}
@Override

View File

@ -400,9 +400,13 @@ public interface Table<E extends Entity>
boolean isColumnHeaderVisible();
/**
* Set possibility to hide or show selection
* Hide or show selection
*/
void setShowSelection(boolean showSelection);
/**
* @return true if selection is visible
*/
boolean isShowSelection();
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////