dirk_krause.tools
Class DkPrintResult

java.lang.Object
  extended by dirk_krause.tools.DkPrintResult

public class DkPrintResult
extends java.lang.Object

Objects of this class are returned by DkPrintclient objects after finishing a print job.


Field Summary
protected  java.lang.String message
          Text to show in the result dialog box.
protected  boolean res
          Result of the print job.
protected  java.lang.String title
          Title to show in the result dialog box.
 
Constructor Summary
DkPrintResult(boolean r, java.lang.String t, java.lang.String m)
          Constructor.
 
Method Summary
 boolean getResult()
          Retrieve success flag.
 java.lang.String getText()
          Retrieve dialog box text.
 java.lang.String getTitle()
          Retrieve dialog box title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

res

protected boolean res
Result of the print job.


title

protected java.lang.String title
Title to show in the result dialog box.


message

protected java.lang.String message
Text to show in the result dialog box.

Constructor Detail

DkPrintResult

public DkPrintResult(boolean r,
                     java.lang.String t,
                     java.lang.String m)
Constructor.

Parameters:
r - Flag: Success or not.
t - Title for dialog box to show.
m - Text for dialog box to show.
Method Detail

getResult

public boolean getResult()
Retrieve success flag.

Returns:
Flag to indicate success.

getTitle

public java.lang.String getTitle()
Retrieve dialog box title.

Returns:
General description of success or error.

getText

public java.lang.String getText()
Retrieve dialog box text.

Returns:
Detailed description of print job result.