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
ILayerCommand
s of this type.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether this command should override a current frozen state or if it should be skipped if a frozen state is already applied.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.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:
true
if 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:
true
if a current freeze state should be overriden,false
if a requested freeze should be skipped on a already frozen state.
-