LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.app.behavior
Class LyPrintBehavior

java.lang.Object
  extended by leon.app.behavior.LyBehavior
      extended by leon.app.behavior.LyActionBehavior
          extended by leon.app.behavior.LyPrintBehavior
All Implemented Interfaces:
LyActionBehaviorInterface, LyBehaviorInterface, LyPrintBehaviorInterface, LyGetSessionInterface

public class LyPrintBehavior
extends LyActionBehavior
implements LyPrintBehaviorInterface

This class implements the default behavior for a LyPrintController.

See Also:
LyPrintController, LyPrintBehaviorInterface

Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyPrintBehavior()
          Default constructor.
 
Method Summary
 boolean printBegin(LySimplePrintController printer)
          Method invoked before printing the object or object list.
 boolean printEnd(LySimplePrintController printer)
          Method invoked after printing the object or object list.
 
Methods inherited from class leon.app.behavior.LyActionBehavior
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from class leon.app.behavior.LyBehavior
free, getSession, handleDemand, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface
free, handleDemand, init
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyPrintBehavior

public LyPrintBehavior()
Default constructor.

Method Detail

printBegin

public boolean printBegin(LySimplePrintController printer)
Method invoked before printing the object or object list.
The default implementation does nothing and returns false.

Specified by:
printBegin in interface LyPrintBehaviorInterface
Parameters:
printer - current LySimplePrintController instance
Returns:
true if the process is done (stop generic behavior) false otherwise.

printEnd

public boolean printEnd(LySimplePrintController printer)
Method invoked after printing the object or object list.
The default implementation does nothing and returns false.

Specified by:
printEnd in interface LyPrintBehaviorInterface
Parameters:
printer - current LySimplePrintController instance
Returns:
true is process is done (stop generic behavior) false otherwise.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com