com.esotericsoftware.tablelayout.MinHeightValue Maven / Gradle / Ivy
package com.esotericsoftware.tablelayout;
public class MinHeightValue extends CellValue {
MinHeightValue(Toolkit toolkit) {
super(toolkit);
}
@Override
public float get (Cell cell) {
if (cell == null) throw new RuntimeException("minHeight can only be set on a cell property.");
C widget = cell.widget;
if (widget == null) return 0;
return toolkit.getMinHeight(widget);
}
}