commit | 390672feb211ac7bfc42efdacb0256704ce4bcef | [log] [tgz] |
---|---|---|
author | Edwin Park <esp1@cornell.edu> | Wed Jun 26 23:13:25 2013 -0400 |
committer | Edwin Park <esp1@cornell.edu> | Wed Jun 26 23:13:43 2013 -0400 |
tree | 8ea4285307868e77e6aa139413a7bc08ef1226fa | |
parent | 76cea3eac6f1737c5bf2ed7ec791a0cd20bae31f [diff] |
comments
diff --git a/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/core/layer/impl/viewport/ViewportAxis.xtend b/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/core/layer/impl/viewport/ViewportAxis.xtend index f7aea1f..204e1c1 100644 --- a/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/core/layer/impl/viewport/ViewportAxis.xtend +++ b/org.eclipse.nebula.widgets.nattable.core/src/org/eclipse/nebula/widgets/nattable/core/layer/impl/viewport/ViewportAxis.xtend
@@ -32,11 +32,18 @@ def getUnderlyingAxis() { underlyingAxis } + // Min pixel location + def setMinPixelLocation(double minPixelLocation) { setMinPixelLocation(new BigDecimal(minPixelLocation)) } def setMinPixelLocation(BigDecimal minPixelLocation) { this.minPixelLocation = minPixelLocation } + + // Max pixel size + def setMaxPixelSize(double maxPixelSize) { setMaxPixelSize(new BigDecimal(maxPixelSize)) } def setMaxPixelSize(BigDecimal maxPixelSize) { this.maxPixelSize = maxPixelSize } + // Visible pixel size + def getVisiblePixelSize() { val pixelSize = if (visiblePixelSize >= BigDecimal::ZERO) visiblePixelSize