jgnash.ui.checks
Class PrintCheckFactory

java.lang.Object
  extended by jgnash.ui.checks.PrintCheckFactory

public class PrintCheckFactory
extends java.lang.Object

Class that contains the check printing logic.

Version:
$Id$
Author:
Craig Cavanaugh

Constructor Summary
private PrintCheckFactory()
           
 
Method Summary
private static Transaction changeTransNum(Transaction transaction)
          Changes and transaction number to the next available in the account and returns the resultant
private static java.lang.String getNextTransactionNum(Transaction t)
          Returns the next available check number for a transaction
static void showDialog()
          Print checks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintCheckFactory

private PrintCheckFactory()
Method Detail

showDialog

public static void showDialog()
Print checks


getNextTransactionNum

private static java.lang.String getNextTransactionNum(Transaction t)
Returns the next available check number for a transaction

Parameters:
t - transaction to assign a check number
Returns:
next check number to assign

changeTransNum

private static Transaction changeTransNum(Transaction transaction)
Changes and transaction number to the next available in the account and returns the resultant

Parameters:
transaction - transaction to change the check number
Returns:
the resultant transaction