All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy