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

de.lessvoid.nifty.controls.checkbox.builder.CheckboxBuilder Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package de.lessvoid.nifty.controls.checkbox.builder;

import de.lessvoid.nifty.builder.ControlBuilder;

import javax.annotation.Nonnull;

public class CheckboxBuilder extends ControlBuilder {
  public CheckboxBuilder() {
    super("checkbox");
  }

  public CheckboxBuilder(@Nonnull final String id) {
    super(id, "checkbox");
  }

  public void checked(final boolean checked) {
    set("checked", String.valueOf(checked));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy