< prev index next >
src/java.desktop/share/classes/java/awt/Transparency.java
Print this page
*** 26,36 ****
package java.awt;
import java.lang.annotation.Native;
/**
! * The <code>Transparency</code> interface defines the common transparency
* modes for implementing classes.
*/
public interface Transparency {
/**
--- 26,36 ----
package java.awt;
import java.lang.annotation.Native;
/**
! * The {@code Transparency} interface defines the common transparency
* modes for implementing classes.
*/
public interface Transparency {
/**
*** 51,61 ****
* alpha values between and including 0.0 and 1.0.
*/
@Native public static final int TRANSLUCENT = 3;
/**
! * Returns the type of this <code>Transparency</code>.
! * @return the field type of this <code>Transparency</code>, which is
* either OPAQUE, BITMASK or TRANSLUCENT.
*/
public int getTransparency();
}
--- 51,61 ----
* alpha values between and including 0.0 and 1.0.
*/
@Native public static final int TRANSLUCENT = 3;
/**
! * Returns the type of this {@code Transparency}.
! * @return the field type of this {@code Transparency}, which is
* either OPAQUE, BITMASK or TRANSLUCENT.
*/
public int getTransparency();
}
< prev index next >