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

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

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

import de.lessvoid.nifty.tools.Color;

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

public interface Label extends NiftyControl {
  /**
   * Change the Label text.
   *
   * @param text new text
   */
  void setText(@Nullable String text);

  /**
   * Get the Label text.
   *
   * @return label text
   */
  @Nullable
  String getText();

  /**
   * Set the Label color.
   *
   * @param color the color
   */
  void setColor(@Nonnull Color color);

  /**
   * Get the current Label color.
   *
   * @return the current color of the label
   */
  @Nullable
  Color getColor();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy