setGreen

Sets the background color's green component.

@Deprecated
public void setGreen(int green) {
  int red = getRed();
  int blue = getBlue();
  this.backgroundColor = (red << 16) | (green << 8) | (blue << 0);
}

Details

Deprecated:
This method is deprecated.

Parameters

green
Background color's green component.