org.eclipse.nebula.widgets.nattable.print.command
Class MultiTurnViewportOffCommandHandler
java.lang.Object
  
org.eclipse.nebula.widgets.nattable.print.command.MultiTurnViewportOffCommandHandler
- All Implemented Interfaces: 
 - ILayerCommandHandler<TurnViewportOffCommand>
 
public class MultiTurnViewportOffCommandHandler
- extends Object
- implements ILayerCommandHandler<TurnViewportOffCommand>
  
ILayerCommandHandler for the TurnViewportOffCommand that needs to be used
 with split viewports. As the command is consumed by the ViewportLayer and it
 is also not necessary to process the command any further, this handler is
 used to ensure that all viewports in the composition get the chance to
 process the command.
- Author:
 
  - Dirk Fauth
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MultiTurnViewportOffCommandHandler
public MultiTurnViewportOffCommandHandler(ViewportLayer... viewports)
doCommand
public boolean doCommand(ILayer targetLayer,
                         TurnViewportOffCommand command)
- Specified by:
 doCommand in interface ILayerCommandHandler<TurnViewportOffCommand>
 
- Parameters:
 targetLayer - the target layercommand - the command
- Returns:
 - true if the command has been handled, false otherwise
 
 
getCommandClass
public Class<TurnViewportOffCommand> getCommandClass()
- Specified by:
 getCommandClass in interface ILayerCommandHandler<TurnViewportOffCommand>
 
 
Copyright © 2015. All rights reserved.