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

de.lessvoid.nifty.controls.console.builder.ConsoleBuilder Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
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