
de.lessvoid.nifty.controls.console.builder.ConsoleBuilder Maven / Gradle / Ivy
package de.lessvoid.nifty.controls.console.builder;
import de.lessvoid.nifty.builder.ControlBuilder;
import javax.annotation.Nonnull;
public class ConsoleBuilder extends ControlBuilder {
public ConsoleBuilder(@Nonnull final String id) {
super(id, "nifty-console");
}
public ConsoleBuilder(@Nonnull final String id, final int lines) {
super(id, "nifty-console");
setLines(lines);
}
public void lines(final int lines) {
set("lines", String.valueOf(lines));
}
private void setLines(final int lines) {
set("lines", String.valueOf(lines));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy