Class UnFreezeGridCommand
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
-
- org.eclipse.nebula.widgets.nattable.freeze.command.UnFreezeGridCommand
-
- All Implemented Interfaces:
ILayerCommand
,IFreezeCommand
public class UnFreezeGridCommand extends AbstractContextFreeCommand implements IFreezeCommand
Simple command to unfreeze a frozen state.
-
-
Constructor Summary
Constructors Constructor Description UnFreezeGridCommand()
-
Method Summary
All Methods Instance Methods Concrete 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 class org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
cloneCommand, convertToTargetLayer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.nebula.widgets.nattable.command.ILayerCommand
cloneCommand, convertToTargetLayer
-
-
-
-
Method Detail
-
isToggle
public boolean isToggle()
Description copied from interface:IFreezeCommand
Indicates whether this command should toggle the frozen state between frozen and unfrozen, or if it should always result in a frozen state.- Specified by:
isToggle
in interfaceIFreezeCommand
- Returns:
true
if a frozen state should be unfrozen when it is tried to freeze again
-
isOverrideFreeze
public boolean isOverrideFreeze()
Description copied from interface:IFreezeCommand
Indicates whether this command should override a current frozen state or if it should be skipped if a frozen state is already applied.- Specified by:
isOverrideFreeze
in interfaceIFreezeCommand
- Returns:
true
if a current freeze state should be overriden,false
if a requested freeze should be skipped on a already frozen state.
-
-