public Map<IPropertyName, Object> getChangeMap() { final Map<IPropertyName, Object> result = new HashMap<>(); if (MathUtils.equals(treeTableColumn.getMinWidth(), originalSizing.getMinWidth()) == false) { result.put(minWidthName, treeTableColumn.getMinWidth()); } if (MathUtils.equals(treeTableColumn.getPrefWidth(), originalSizing.getPrefWidth()) == false) { result.put(prefWidthName, treeTableColumn.getPrefWidth()); } if (MathUtils.equals(treeTableColumn.getMaxWidth(), originalSizing.getMaxWidth()) == false) { result.put(maxWidthName, treeTableColumn.getMaxWidth()); } return result; }
public void revertToOriginalSize() { originalSizing.applyTo(treeTableColumn); if (treeTableColumnNext != null) { originalSizingNext.applyTo(treeTableColumnNext); } }