aicas logoJamaica 3.2 release 62

java.awt
Class PageAttributes

java.lang.Object
  extended by java.awt.PageAttributes
All Implemented Interfaces:
Cloneable

public final class PageAttributes
extends Object
implements Cloneable

Missing Documentation

Since:
1.3
Status:
updated to 1.4, but 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)
           
 
Method Summary
 Object clone()
          clone creates a shallow clone of this.
 boolean equals(Object o)
          equals compares this object to another object.
 PageAttributes.ColorType getColor()
           
 PageAttributes.MediaType getMedia()
           
 PageAttributes.OrientationRequestedType getOrientationRequested()
           
 PageAttributes.OriginType getOrigin()
           
 int[] getPrinterResolution()
           
 PageAttributes.PrintQualityType getPrintQuality()
           
 int hashCode()
          hashCode returns a hash code for this object.
 void set(PageAttributes attr)
           
 void setColor(PageAttributes.ColorType color)
           
 void setMedia(PageAttributes.MediaType media)
           
 void setMediaToDefault()
           
 void setOrientationRequested(int orientation)
           
 void setOrientationRequested(PageAttributes.OrientationRequestedType orientation)
           
 void setOrientationRequestedToDefault()
           
 void setOrigin(PageAttributes.OriginType origin)
           
 void setPrinterResolution(int resolution)
           
 void setPrinterResolution(int[] resolution)
           
 void setPrinterResolutionToDefault()
           
 void setPrintQuality(int quality)
           
 void setPrintQuality(PageAttributes.PrintQualityType quality)
           
 void setPrintQualityToDefault()
           
 String toString()
          toString creates a printable string that represents this object for debugging purposes.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageAttributes

public PageAttributes()

PageAttributes

public PageAttributes(PageAttributes attr)

PageAttributes

public PageAttributes(PageAttributes.ColorType color,
                      PageAttributes.MediaType media,
                      PageAttributes.OrientationRequestedType orientation,
                      PageAttributes.OriginType origin,
                      PageAttributes.PrintQualityType quality,
                      int[] resolution)
Method Detail

clone

public Object clone()
Description copied from class: Object
clone creates a shallow clone of this.

Overrides:
clone in class Object
Returns:
a clone of this object.

set

public void set(PageAttributes attr)

getColor

public PageAttributes.ColorType getColor()

setColor

public void setColor(PageAttributes.ColorType color)

getMedia

public PageAttributes.MediaType getMedia()

setMedia

public void setMedia(PageAttributes.MediaType media)

setMediaToDefault

public void setMediaToDefault()

getOrientationRequested

public PageAttributes.OrientationRequestedType getOrientationRequested()

setOrientationRequested

public void setOrientationRequested(PageAttributes.OrientationRequestedType orientation)

setOrientationRequested

public void setOrientationRequested(int orientation)

setOrientationRequestedToDefault

public void setOrientationRequestedToDefault()

getOrigin

public PageAttributes.OriginType getOrigin()

setOrigin

public void setOrigin(PageAttributes.OriginType origin)

getPrintQuality

public PageAttributes.PrintQualityType getPrintQuality()

setPrintQuality

public void setPrintQuality(PageAttributes.PrintQualityType quality)

setPrintQuality

public void setPrintQuality(int quality)

setPrintQualityToDefault

public void setPrintQualityToDefault()

getPrinterResolution

public int[] getPrinterResolution()

setPrinterResolution

public void setPrinterResolution(int[] resolution)

setPrinterResolution

public void setPrinterResolution(int resolution)

setPrinterResolutionToDefault

public void setPrinterResolutionToDefault()

equals

public boolean equals(Object o)
Description copied from class: Object
equals compares this object to another object.

Equals 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.

Overrides:
equals in class Object
Parameters:
o - the other object.
Returns:
if this and other are considered equal.

hashCode

public int hashCode()
Description copied from class: Object
hashCode returns a hash code for this object. The hash code must be equal for two objects a and b if a.equals(b) is true.

The default implementation returns System.identityHashCode(this).

Overrides:
hashCode in class Object
Returns:
a hash code value.

toString

public String toString()
Description copied from class: Object
toString creates a printable string that represents this object for debugging purposes.

The default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).

Overrides:
toString in class Object
Returns:
a string identifying this object.

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.