|
|
@ -250,7 +250,7 @@ public abstract class AbstractGridHeaderMouseHandler extends MouseInputAdapter { |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 如果行列中有只选中一个的情况,更新下endIndex,防止列宽或行宽不匹配 |
|
|
|
* 如果行列中有只选中一个的情况,更新下endIndex,防止列宽或行宽不匹配 |
|
|
|
* @param selection |
|
|
|
* @param selection 与ElementCasePane绑定的选择对象 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void checkEndMultiSelectIndex(Selection selection) { |
|
|
|
private void checkEndMultiSelectIndex(Selection selection) { |
|
|
|
if (selection.getSelectedColumns().length == ONLY_SELECT_ONE || selection.getSelectedRows().length == ONLY_SELECT_ONE) { |
|
|
|
if (selection.getSelectedColumns().length == ONLY_SELECT_ONE || selection.getSelectedRows().length == ONLY_SELECT_ONE) { |
|
|
|