クラス PrintFrame

すべての実装されたインタフェース:
ClientInterface, CommonInterface, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface

public class PrintFrame extends AbstractClient

画面印刷

画面の印刷を行います。プリントダイアログを表示後、ページダイアログを表示しユーザに印刷 方法を促します。
このロジッククラスでは Graphics2D を使った印刷になります。


[I/O RECORD]

InputRecord OutputRecord

[RULE PARAMETER]

Parameter 印刷JOB名
バージョン:
1.0
  • コンストラクタの詳細

    • PrintFrame

      public PrintFrame()
  • メソッドの詳細

    • getIOParameter

      public int getIOParameter()
      IOパラメータ取得。execute の前に実行される。
      戻り値:
      int OK=処理続行、ERROR=異常終了、CANCEL=処理を中断(正常終了)
    • execute

      public int execute() throws PrinterException
      表示不可に変更する処理を実行。OutputRecordに指定されているもの全てを処理する。
      戻り値:
       int BusinessRuleの戻り値を参照
      例外:
      PrinterException
    • exit

      public void exit()
      終了処理。保持していた変数などを開放する処理を記述します。
      execute の後に実行されます。
      正常終了・異常終了などに関わらず必ず実行されます。