Class BaseHasDynamicHeightCell<T>
- java.lang.Object
-
- org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridCell<T>
-
- org.kie.workbench.common.dmn.client.widgets.grid.model.DMNGridCell<T>
-
- org.kie.workbench.common.dmn.client.widgets.grid.model.BaseHasDynamicHeightCell<T>
-
- All Implemented Interfaces:
HasCellEditorControls,HasDynamicHeight,org.uberfire.ext.wires.core.grids.client.model.GridCell<T>
- Direct Known Subclasses:
DecisionTableGridCell,LiteralExpressionCell,RelationGridCell
public abstract class BaseHasDynamicHeightCell<T> extends DMNGridCell<T> implements HasDynamicHeight
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.kie.workbench.common.dmn.client.widgets.grid.controls.HasCellEditorControls
HasCellEditorControls.Editor<T>
-
-
Field Summary
Fields Modifier and Type Field Description static doubleDEFAULT_HEIGHTprotected doublelineHeight
-
Constructor Summary
Constructors Constructor Description BaseHasDynamicHeightCell(org.uberfire.ext.wires.core.grids.client.model.GridCellValue<T> value, double lineHeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)protected doublegetExpressionTextHeight()doublegetHeight()inthashCode()protected voidsetValue(org.uberfire.ext.wires.core.grids.client.model.GridCellValue<T> value)-
Methods inherited from class org.uberfire.ext.wires.core.grids.client.model.impl.BaseGridCell
collapse, expand, getMergedCellCount, getSelectionStrategy, getValue, isCollapsed, isMerged, reset, setSelectionStrategy
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.uberfire.ext.wires.core.grids.client.model.GridCell
getSupportedEditAction
-
Methods inherited from interface org.kie.workbench.common.dmn.client.widgets.grid.controls.HasCellEditorControls
getEditor
-
-
-
-
Field Detail
-
DEFAULT_HEIGHT
public static final double DEFAULT_HEIGHT
- See Also:
- Constant Field Values
-
lineHeight
protected final double lineHeight
-
-
Constructor Detail
-
BaseHasDynamicHeightCell
public BaseHasDynamicHeightCell(org.uberfire.ext.wires.core.grids.client.model.GridCellValue<T> value, double lineHeight)
-
-
Method Detail
-
setValue
protected void setValue(org.uberfire.ext.wires.core.grids.client.model.GridCellValue<T> value)
- Overrides:
setValuein classorg.uberfire.ext.wires.core.grids.client.model.impl.BaseGridCell<T>
-
getHeight
public double getHeight()
- Specified by:
getHeightin interfaceHasDynamicHeight
-
getExpressionTextHeight
protected double getExpressionTextHeight()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classorg.uberfire.ext.wires.core.grids.client.model.impl.BaseGridCell<T>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.uberfire.ext.wires.core.grids.client.model.impl.BaseGridCell<T>
-
-