org.daisy.braille.ui.pefinfo.DimensionsDetail Maven / Gradle / Ivy
The newest version!
package org.daisy.braille.ui.pefinfo;
import java.util.Arrays;
import org.daisy.braille.pef.PEFBook;
public class DimensionsDetail implements Detail {
@Override
public String getTitle() {
return "Dimensions";
}
@Override
public Iterable getDetails(PEFBook book) {
return Arrays.asList(book.getMaxWidth() + "x" + book.getMaxHeight());
}
}