Lines Matching defs:PageAttributes
45 * import java.awt.PageAttributes;
48 * public void setMonochrome(PageAttributes pageAttributes) {
49 * pageAttributes.setColor(PageAttributes.ColorType.MONOCHROME);
61 public final class PageAttributes implements Cloneable {
909 * Constructs a PageAttributes instance with default values for every
912 public PageAttributes() {
922 * Constructs a PageAttributes instance which is a copy of the supplied
923 * PageAttributes.
925 * @param obj the PageAttributes to copy.
927 public PageAttributes(PageAttributes obj) {
932 * Constructs a PageAttributes instance with the specified values for
949 public PageAttributes(ColorType color, MediaType media,
962 * Creates and returns a copy of this PageAttributes.
965 * a PageAttributes.
977 * Sets all of the attributes of this PageAttributes to the same values as
980 * @param obj the PageAttributes to copy.
982 public void set(PageAttributes obj) {
1319 * Determines whether two PageAttributes are equal to each other.
1321 * Two PageAttributes are equal if and only if each of their attributes are
1333 if (!(obj instanceof PageAttributes)) {
1337 PageAttributes rhs = (PageAttributes)obj;
1350 * Returns a hash code value for this PageAttributes.
1366 * Returns a string representation of this PageAttributes.