Interface IFreezeCommand
- All Superinterfaces:
ILayerCommand
- All Known Implementing Classes:
FreezeColumnCommand,FreezePositionCommand,FreezeRowCommand,FreezeSelectionCommand,UnFreezeGridCommand
Interface to mark commands as freeze related commands that are handled by the
FreezeCommandHandler or any command handler that handles
ILayerCommands of this type.-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether this command should override a current frozen state or if it should be skipped if a frozen state is already applied.booleanisToggle()Indicates whether this command should toggle the frozen state between frozen and unfrozen, or if it should always result in a frozen state.Methods inherited from interface org.eclipse.nebula.widgets.nattable.command.ILayerCommand
cloneCommand, convertToTargetLayer
-
Method Details
-
isToggle
boolean isToggle()Indicates whether this command should toggle the frozen state between frozen and unfrozen, or if it should always result in a frozen state.- Returns:
trueif a frozen state should be unfrozen when it is tried to freeze again
-
isOverrideFreeze
boolean isOverrideFreeze()Indicates whether this command should override a current frozen state or if it should be skipped if a frozen state is already applied.- Returns:
trueif a current freeze state should be overriden,falseif a requested freeze should be skipped on a already frozen state.
-