Lines Matching defs:opacity
344 * The opacity level of the window
351 private float opacity = 1.0f;
3060 opacity = (Float)f.get("opacity", 1.0f);
3518 * Returns the opacity of the window.
3520 * @return the opacity of the window
3529 return opacity;
3534 * Sets the opacity of the window.
3536 * The opacity value is in the range [0..1]. Note that setting the opacity
3540 * The following conditions must be met in order to set the opacity value
3551 * If the requested opacity value is less than {@code 1.0f}, and any of the
3552 * above conditions are not met, the window opacity will not change,
3559 * @param opacity the opacity level to set to the window
3561 * @throws IllegalArgumentException if the opacity is out of the range
3564 * the opacity is less than {@code 1.0f}
3566 * mode, and the opacity is less than {@code 1.0f}
3569 * translucency is not supported and the opacity is less than
3582 public void setOpacity(float opacity) {
3584 if (opacity < 0.0f || opacity > 1.0f) {
3586 "The value of opacity should be in the range [0.0f .. 1.0f].");
3588 if (opacity < 1.0f) {
3593 "Setting opacity for full-screen window is not supported.");
3602 this.opacity = opacity;
3605 peer.setOpacity(opacity);
3657 * opacity value (see {@link #setOpacity(float)}). See {@link
3762 * opacity (see {@link #setOpacity(float)}), as well as the current shape of
4005 return window.opacity;
4007 public void setOpacity(Window window, float opacity) {
4008 window.setOpacity(opacity);