Exemple #1
0
  public void setLabelFont(final Font font) {
    if (GUtils.equals(_labelFont, font)) {
      return;
    }

    _labelFont = font;
    clearTexture();
  }
Exemple #2
0
  public void setLabel(final String label) {
    if (GUtils.equals(_label, label)) {
      return;
    }

    _label = label;
    clearTexture();
  }
Exemple #3
0
  public void setLabelShadowColor(final Color labelShadowColor) {
    if (GUtils.equals(_labelShadowColor, labelShadowColor)) {
      return;
    }

    _labelShadowColor = labelShadowColor;
    clearTexture();
  }
Exemple #4
0
  public void setImage(final BufferedImage image) {
    if (GUtils.equals(_image, image)) {
      return;
    }

    _image = image;
    clearTexture();
  }