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

de.lessvoid.nifty.controls.checkbox.CheckBoxView Maven / Gradle / Ivy

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

import de.lessvoid.nifty.controls.CheckBoxStateChangedEvent;

/**
 * The representation of a CheckBoxView from the world of a CheckBox.
 *
 * @author void
 */

public interface CheckBoxView {
  /**
   * Update the View with the new state.
   *
   * @param checked new state of the checkbox
   */
  void update(final boolean checked);

  /**
   * Publish this event.
   *
   * @param event the event to publish
   */
  void publish(CheckBoxStateChangedEvent event);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy