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

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

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

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * This is a Nifty Window that can be dragged around.
 *
 * @author void
 */
public interface Window extends NiftyControl {
  /**
   * Get the title of the Window.
   *
   * @return title the title of the window
   */
  @Nullable
  String getTitle();

  /**
   * Set the title of the Window.
   *
   * @param title the new title to be displayed in the Title bar
   */
  void setTitle(@Nonnull String title);

  /**
   * Close this Window.
   */
  void closeWindow();

  /**
   * Move the window control to the front inside its parent element.
   */
  void moveToFront();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy