|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.PageAttributes
public final class PageAttributes
Missing Documentation
| Nested Class Summary | |
|---|---|
static class |
PageAttributes.ColorType
|
static class |
PageAttributes.MediaType
|
static class |
PageAttributes.OrientationRequestedType
|
static class |
PageAttributes.OriginType
|
static class |
PageAttributes.PrintQualityType
|
| Constructor Summary | |
|---|---|
PageAttributes()
|
|
PageAttributes(PageAttributes.ColorType color,
PageAttributes.MediaType media,
PageAttributes.OrientationRequestedType orientation,
PageAttributes.OriginType origin,
PageAttributes.PrintQualityType quality,
int[] resolution)
|
|
PageAttributes(PageAttributes attr)
|
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PageAttributes()
public PageAttributes(PageAttributes attr)
public PageAttributes(PageAttributes.ColorType color,
PageAttributes.MediaType media,
PageAttributes.OrientationRequestedType orientation,
PageAttributes.OriginType origin,
PageAttributes.PrintQualityType quality,
int[] resolution)
| Method Detail |
|---|
public Object clone()
Object
clone in class Objectpublic void set(PageAttributes attr)
public PageAttributes.ColorType getColor()
public void setColor(PageAttributes.ColorType color)
public PageAttributes.MediaType getMedia()
public void setMedia(PageAttributes.MediaType media)
public void setMediaToDefault()
public PageAttributes.OrientationRequestedType getOrientationRequested()
public void setOrientationRequested(PageAttributes.OrientationRequestedType orientation)
public void setOrientationRequested(int orientation)
public void setOrientationRequestedToDefault()
public PageAttributes.OriginType getOrigin()
public void setOrigin(PageAttributes.OriginType origin)
public PageAttributes.PrintQualityType getPrintQuality()
public void setPrintQuality(PageAttributes.PrintQualityType quality)
public void setPrintQuality(int quality)
public void setPrintQualityToDefault()
public int[] getPrinterResolution()
public void setPrinterResolution(int[] resolution)
public void setPrinterResolution(int resolution)
public void setPrinterResolutionToDefault()
public boolean equals(Object o)
ObjectEquals must be symmetric (a.equals(b) == b.equals(a)), reflexive (a.equals(a)==true) and transitive (a.equals(b) && b.equals(c) IMPLIES (a.equals(c))) and not change over time (a.equals(b) == a.equals(b)). a.equals(null) should always return false.
If a.equals(b) is true for two objects a and b, then a.hashCode()==b.hashCode() must hold.
The default implementation of equals returns this==other.
equals in class Objecto - the other object.
public int hashCode()
ObjectThe default implementation returns System.identityHashCode(this).
hashCode in class Objectpublic String toString()
ObjectThe default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).
toString in class Object
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||