public class StructuralRefreshCommandHandler extends Object implements ILayerCommandHandler<StructuralRefreshCommand>
StructuralRefreshCommands.
Simply fires a StructuralRefreshEvent.
Needed to be able to refresh all layers by simply calling a command on the NatTable
instance itself (Remember that events are fired bottom up the layer stack while commands
are propagated top down).
To refresh all layers by calling a StructuralRefreshCommand on the NatTable
instance, the StructuralRefreshCommandHandler should be registered against
the DataLayer.| Constructor and Description |
|---|
StructuralRefreshCommandHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doCommand(ILayer targetLayer,
StructuralRefreshCommand command) |
Class<StructuralRefreshCommand> |
getCommandClass() |
public Class<StructuralRefreshCommand> getCommandClass()
getCommandClass in interface ILayerCommandHandler<StructuralRefreshCommand>public boolean doCommand(ILayer targetLayer, StructuralRefreshCommand command)
doCommand in interface ILayerCommandHandler<StructuralRefreshCommand>targetLayer - the target layercommand - the commandCopyright © 2013. All Rights Reserved.