org.drools.guvnor.client.widgets.decoratedgrid
Class CellHeightCalculatorImpl
java.lang.Object
org.drools.guvnor.client.widgets.decoratedgrid.CellHeightCalculatorImpl
- Direct Known Subclasses:
- CellHeightCalculatorImplIE
public class CellHeightCalculatorImpl
- extends Object
Default implementation of utility class to calculate the height of a merged
cell in a VerticalMergedGrid widget. IE and Mozilla don't have any common
ground on how to calculate the height of a HTML table cell spanning multiple
rows. After much trying deferred bindings offered a simple, and arguably more
elegant, approach.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resource
protected static final DecisionTableResources resource
style
protected static final DecisionTableResources.DecisionTableStyle style
CellHeightCalculatorImpl
public CellHeightCalculatorImpl()
calculateHeight
public int calculateHeight(int rowSpan)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.