info.magnolia.ui.contentapp.detail
Class DetailEditorPresenter.CloseEditorAfterConfirmationShortcutListener

java.lang.Object
  extended by com.vaadin.event.Action
      extended by com.vaadin.event.ShortcutAction
          extended by com.vaadin.event.ShortcutListener
              extended by info.magnolia.ui.contentapp.detail.DetailEditorPresenter.CloseEditorAfterConfirmationShortcutListener
All Implemented Interfaces:
com.vaadin.event.Action.Listener, Serializable
Enclosing class:
DetailEditorPresenter

protected class DetailEditorPresenter.CloseEditorAfterConfirmationShortcutListener
extends com.vaadin.event.ShortcutListener

A shortcut listener which opens a confirmation to confirm closing the DetailEditor.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.event.ShortcutAction
com.vaadin.event.ShortcutAction.KeyCode, com.vaadin.event.ShortcutAction.ModifierKey
 
Nested classes/interfaces inherited from class com.vaadin.event.Action
com.vaadin.event.Action.Container, com.vaadin.event.Action.Handler, com.vaadin.event.Action.Listener, com.vaadin.event.Action.Notifier, com.vaadin.event.Action.ShortcutNotifier
 
Field Summary
 
Fields inherited from class com.vaadin.event.ShortcutAction
SHORTHAND_CHAR_ALT, SHORTHAND_CHAR_CTRL, SHORTHAND_CHAR_SHIFT
 
Constructor Summary
DetailEditorPresenter.CloseEditorAfterConfirmationShortcutListener(int keyCode, info.magnolia.ui.api.view.View itemView, int... modifierKey)
           
 
Method Summary
 void handleAction(Object sender, Object target)
           
 
Methods inherited from class com.vaadin.event.ShortcutAction
getKeyCode, getModifiers
 
Methods inherited from class com.vaadin.event.Action
getCaption, getIcon, setCaption, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DetailEditorPresenter.CloseEditorAfterConfirmationShortcutListener

public DetailEditorPresenter.CloseEditorAfterConfirmationShortcutListener(int keyCode,
                                                                          info.magnolia.ui.api.view.View itemView,
                                                                          int... modifierKey)
Method Detail

handleAction

public void handleAction(Object sender,
                         Object target)
Specified by:
handleAction in interface com.vaadin.event.Action.Listener
Specified by:
handleAction in class com.vaadin.event.ShortcutListener


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.