Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.noa.internal.printing
Class PrintProperties

java.lang.Object
  extended by ag.ion.noa.internal.printing.PrintProperties
All Implemented Interfaces:
IPrintProperties

public class PrintProperties
extends java.lang.Object
implements IPrintProperties

Properties for printing documents.


Constructor Summary
PrintProperties(short copyCount)
          Constructs new PrintProperties.
PrintProperties(short copyCount, java.lang.String pages)
          Constructs new PrintProperties.
 
Method Summary
 short getCopyCount()
          Returns the number of copies to print.
 java.lang.String getPages()
          Returns the pages to print (e.g. "1, 3, 4-7, 9-").
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintProperties

public PrintProperties(short copyCount)
Constructs new PrintProperties.

Parameters:
copyCount - the number of copies to print (values less then 1 will result in a copy count of 1)

PrintProperties

public PrintProperties(short copyCount,
                       java.lang.String pages)
Constructs new PrintProperties.

Parameters:
copyCount - the number of copies to print (values less then 1 will result in a copy count of 1)
pages - the pages to print (e.g. "1, 3, 4-7, 9-"), or null for default TODO: This format is not checked yet, so validate it yourself for now
Method Detail

getCopyCount

public short getCopyCount()
Returns the number of copies to print.

Specified by:
getCopyCount in interface IPrintProperties
Returns:
the number of copies to print

getPages

public java.lang.String getPages()
Returns the pages to print (e.g. "1, 3, 4-7, 9-").

Specified by:
getPages in interface IPrintProperties
Returns:
the pages to print (e.g. "1, 3, 4-7, 9-")

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013