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

de.lessvoid.nifty.controls.CheckBox Maven / Gradle / Ivy

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

/**
 * The CheckBox interface is the Nifty control API view of a Nifty CheckBox control.
 *
 * @param 
 * @author void
 */
public interface CheckBox extends NiftyControl {
  /**
   * Check this CheckBox.
   */
  void check();

  /**
   * Uncheck this CheckBox.
   */
  void uncheck();

  /**
   * Set the state of this CheckBox to the given state.
   *
   * @param state true = checked, false = unchecked
   */
  void setChecked(boolean state);

  /**
   * Returns the current State of this CheckBox.
   */
  boolean isChecked();

  /**
   * Toggle this CheckBox state.
   */
  void toggle();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy