@Dependent public class CutSelectionSessionCommand extends AbstractClientSessionCommand<ClientFullSession>
CopySelectionSessionCommand selected elements and delete them using the DeleteSelectionSessionCommand. *ClientSessionCommand.Callback<V>| Modifier | Constructor and Description |
|---|---|
protected |
CutSelectionSessionCommand() |
|
CutSelectionSessionCommand(SessionCommandFactory sessionCommandFactory,
SessionCommandManager<AbstractCanvasHandler> sessionCommandManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(ClientFullSession session) |
<V> void |
execute(ClientSessionCommand.Callback<V> callback) |
protected void |
onKeyDownEvent(KeyboardEvent.Key... keys) |
execute, fire, getCanvasHandler, getElement, getSession, isEnabled, listen, newDefaultCallback, setEnabled, unbindprotected CutSelectionSessionCommand()
@Inject public CutSelectionSessionCommand(SessionCommandFactory sessionCommandFactory, @Session SessionCommandManager<AbstractCanvasHandler> sessionCommandManager)
public void bind(ClientFullSession session)
bind in interface CanvasControl.SessionAware<ClientFullSession>bind in class AbstractClientSessionCommand<ClientFullSession>protected void onKeyDownEvent(KeyboardEvent.Key... keys)
public <V> void execute(ClientSessionCommand.Callback<V> callback)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.