org.eclipse.nebula.widgets.nattable.tickupdate.action
Class TickUpdateAction

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.tickupdate.action.TickUpdateAction
All Implemented Interfaces:
IKeyAction

public class TickUpdateAction
extends Object
implements IKeyAction

IKeyAction that will execute the TickUpdateCommand with the additional information if the update increments or decrements the current value.


Constructor Summary
TickUpdateAction(boolean increment)
           
 
Method Summary
 void run(NatTable natTable, org.eclipse.swt.events.KeyEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TickUpdateAction

public TickUpdateAction(boolean increment)
Parameters:
increment - Flag to determine whether the current value in the data model should be incremented or decremented.
Method Detail

run

public void run(NatTable natTable,
                org.eclipse.swt.events.KeyEvent event)
Specified by:
run in interface IKeyAction


Copyright © 2015. All rights reserved.