Interface IFreezeCommand
-
- All Superinterfaces:
ILayerCommand
- All Known Implementing Classes:
FreezeColumnCommand
,FreezePositionCommand
,FreezeRowCommand
,FreezeSelectionCommand
,UnFreezeGridCommand
public interface IFreezeCommand extends ILayerCommand
Interface to mark commands as freeze related commands that are handled by theFreezeCommandHandler
or any command handler that handlesILayerCommand
s of this type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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 Detail
-
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.
-
-