aicas logoJamaica 3.2 release 62

java.awt
Class JobAttributes

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

public final class JobAttributes
extends Object
implements Cloneable

Needs documentation...

Since:
1.3
Status:
updated to 1.4, lacks documentation

Nested Class Summary
static class JobAttributes.DefaultSelectionType
           
static class JobAttributes.DestinationType
           
static class JobAttributes.DialogType
           
static class JobAttributes.MultipleDocumentHandlingType
           
static class JobAttributes.SidesType
           
 
Constructor Summary
JobAttributes()
           
JobAttributes(int copies, JobAttributes.DefaultSelectionType selection, JobAttributes.DestinationType destination, JobAttributes.DialogType dialog, String filename, int max, int min, JobAttributes.MultipleDocumentHandlingType multiple, int[][] pageRanges, String printer, JobAttributes.SidesType sides)
           
JobAttributes(JobAttributes attr)
           
 
Method Summary
 Object clone()
          clone creates a shallow clone of this.
 boolean equals(Object o)
          equals compares this object to another object.
 int getCopies()
           
 JobAttributes.DefaultSelectionType getDefaultSelection()
           
 JobAttributes.DestinationType getDestination()
           
 JobAttributes.DialogType getDialog()
           
 String getFileName()
           
 int getFromPage()
           
 int getMaxPage()
           
 int getMinPage()
           
 JobAttributes.MultipleDocumentHandlingType getMultipleDocumentHandling()
           
 int[][] getPageRanges()
           
 String getPrinter()
           
 JobAttributes.SidesType getSides()
           
 int getToPage()
           
 int hashCode()
          hashCode returns a hash code for this object.
 void set(JobAttributes attr)
           
 void setCopies(int copies)
           
 void setCopiesToDefault()
           
 void setDefaultSelection(JobAttributes.DefaultSelectionType selection)
           
 void setDestination(JobAttributes.DestinationType destination)
           
 void setDialog(JobAttributes.DialogType dialog)
           
 void setFileName(String filename)
           
 void setFromPage(int fromPage)
           
 void setMaxPage(int maxPage)
           
 void setMinPage(int minPage)
           
 void setMultipleDocumentHandling(JobAttributes.MultipleDocumentHandlingType multiple)
           
 void setMultipleDocumentHandlingToDefault()
           
 void setPageRanges(int[][] pageRanges)
           
 void setPrinter(String printer)
           
 void setSides(JobAttributes.SidesType sides)
           
 void setSidesToDefault()
           
 void setToPage(int toPage)
           
 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

JobAttributes

public JobAttributes()

JobAttributes

public JobAttributes(JobAttributes attr)

JobAttributes

public JobAttributes(int copies,
                     JobAttributes.DefaultSelectionType selection,
                     JobAttributes.DestinationType destination,
                     JobAttributes.DialogType dialog,
                     String filename,
                     int max,
                     int min,
                     JobAttributes.MultipleDocumentHandlingType multiple,
                     int[][] pageRanges,
                     String printer,
                     JobAttributes.SidesType sides)
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(JobAttributes attr)

getCopies

public int getCopies()

setCopies

public void setCopies(int copies)

setCopiesToDefault

public void setCopiesToDefault()

getDefaultSelection

public JobAttributes.DefaultSelectionType getDefaultSelection()

setDefaultSelection

public void setDefaultSelection(JobAttributes.DefaultSelectionType selection)

getDestination

public JobAttributes.DestinationType getDestination()

setDestination

public void setDestination(JobAttributes.DestinationType destination)

getDialog

public JobAttributes.DialogType getDialog()

setDialog

public void setDialog(JobAttributes.DialogType dialog)

getFileName

public String getFileName()

setFileName

public void setFileName(String filename)

getFromPage

public int getFromPage()

setFromPage

public void setFromPage(int fromPage)

getMaxPage

public int getMaxPage()

setMaxPage

public void setMaxPage(int maxPage)

getMinPage

public int getMinPage()

setMinPage

public void setMinPage(int minPage)

getMultipleDocumentHandling

public JobAttributes.MultipleDocumentHandlingType getMultipleDocumentHandling()

setMultipleDocumentHandling

public void setMultipleDocumentHandling(JobAttributes.MultipleDocumentHandlingType multiple)

setMultipleDocumentHandlingToDefault

public void setMultipleDocumentHandlingToDefault()

getPageRanges

public int[][] getPageRanges()

setPageRanges

public void setPageRanges(int[][] pageRanges)

getPrinter

public String getPrinter()

setPrinter

public void setPrinter(String printer)

getSides

public JobAttributes.SidesType getSides()

setSides

public void setSides(JobAttributes.SidesType sides)

setSidesToDefault

public void setSidesToDefault()

getToPage

public int getToPage()

setToPage

public void setToPage(int toPage)

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.