llnl.visit
Class PrinterAttributes

java.lang.Object
  extended by llnl.visit.AttributeSubject
      extended by llnl.visit.PrinterAttributes

public class PrinterAttributes
extends AttributeSubject


Constructor Summary
PrinterAttributes()
           
PrinterAttributes(int nMoreFields)
           
PrinterAttributes(PrinterAttributes obj)
           
 
Method Summary
 boolean equals(PrinterAttributes obj)
           
 java.lang.String GetCreator()
           
 java.lang.String GetDocumentName()
           
 int GetNumAdditionalAttributes()
          Returns the number of attributes added in this level of the state object.
 int GetNumCopies()
           
 boolean GetOutputToFile()
           
 java.lang.String GetOutputToFileName()
           
 int GetPageSize()
           
 boolean GetPortrait()
           
 boolean GetPrintColor()
           
 java.lang.String GetPrinterName()
           
 java.lang.String GetPrintProgram()
           
 int Offset()
          Returns the offset into the selected table where this state object's fields begin.
 void ReadAtts(int index, CommunicationBuffer buf)
          Reads the specified index's data from the buffer into the object.
 void SetCreator(java.lang.String creator_)
           
 void SetDocumentName(java.lang.String documentName_)
           
 void SetNumCopies(int numCopies_)
           
 void SetOutputToFile(boolean outputToFile_)
           
 void SetOutputToFileName(java.lang.String outputToFileName_)
           
 void SetPageSize(int pageSize_)
           
 void SetPortrait(boolean portrait_)
           
 void SetPrintColor(boolean printColor_)
           
 void SetPrinterName(java.lang.String printerName_)
           
 void SetPrintProgram(java.lang.String printProgram_)
           
 java.lang.String toString(java.lang.String indent)
           
 void WriteAtts(CommunicationBuffer buf)
          Writes the selected fields of the object to the buffer.
 
Methods inherited from class llnl.visit.AttributeSubject
Attach, boolToString, Detach, doubleArrayToString, doubleToString, doubleVectorToString, floatArrayToString, floatToString, floatVectorToString, GetAttributeId, GetClassName, intArrayToString, intToString, intVectorToString, IsSelected, Notify, NumAttributes, NumAttributesSelected, Read, Select, SelectAll, SetAttributeId, stringToString, stringVectorToString, toString, ucharArrayToString, ucharToString, ucharVectorToString, UnSelectAll, Write, WriteSelect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrinterAttributes

public PrinterAttributes()

PrinterAttributes

public PrinterAttributes(int nMoreFields)

PrinterAttributes

public PrinterAttributes(PrinterAttributes obj)
Method Detail

Offset

public int Offset()
Description copied from class: AttributeSubject
Returns the offset into the selected table where this state object's fields begin.

Overrides:
Offset in class AttributeSubject
Returns:
An offset into the selected table.

GetNumAdditionalAttributes

public int GetNumAdditionalAttributes()
Description copied from class: AttributeSubject
Returns the number of attributes added in this level of the state object.

Overrides:
GetNumAdditionalAttributes in class AttributeSubject
Returns:
The number of attributes added in this level of the state object.

equals

public boolean equals(PrinterAttributes obj)

SetPrinterName

public void SetPrinterName(java.lang.String printerName_)

SetPrintProgram

public void SetPrintProgram(java.lang.String printProgram_)

SetDocumentName

public void SetDocumentName(java.lang.String documentName_)

SetCreator

public void SetCreator(java.lang.String creator_)

SetNumCopies

public void SetNumCopies(int numCopies_)

SetPortrait

public void SetPortrait(boolean portrait_)

SetPrintColor

public void SetPrintColor(boolean printColor_)

SetOutputToFile

public void SetOutputToFile(boolean outputToFile_)

SetOutputToFileName

public void SetOutputToFileName(java.lang.String outputToFileName_)

SetPageSize

public void SetPageSize(int pageSize_)

GetPrinterName

public java.lang.String GetPrinterName()

GetPrintProgram

public java.lang.String GetPrintProgram()

GetDocumentName

public java.lang.String GetDocumentName()

GetCreator

public java.lang.String GetCreator()

GetNumCopies

public int GetNumCopies()

GetPortrait

public boolean GetPortrait()

GetPrintColor

public boolean GetPrintColor()

GetOutputToFile

public boolean GetOutputToFile()

GetOutputToFileName

public java.lang.String GetOutputToFileName()

GetPageSize

public int GetPageSize()

WriteAtts

public void WriteAtts(CommunicationBuffer buf)
Description copied from class: AttributeSubject
Writes the selected fields of the object to the buffer.

Overrides:
WriteAtts in class AttributeSubject
Parameters:
buf - The communication buffer to which the object will be written.

ReadAtts

public void ReadAtts(int index,
                     CommunicationBuffer buf)
Description copied from class: AttributeSubject
Reads the specified index's data from the buffer into the object.

Specified by:
ReadAtts in class AttributeSubject
buf - The communication buffer to from which the object will be read.

toString

public java.lang.String toString(java.lang.String indent)
Overrides:
toString in class AttributeSubject