info.magnolia.ui.vaadin.gwt.client.magnoliashell.shell
Class MagnoliaShellViewImpl
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
com.googlecode.mgwt.ui.client.widget.touch.TouchPanel
info.magnolia.ui.vaadin.gwt.client.magnoliashell.shell.MagnoliaShellViewImpl
- All Implemented Interfaces:
- com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.googlecode.mgwt.dom.client.event.tap.HasTapHandlers, com.googlecode.mgwt.dom.client.event.touch.HasTouchHandlers, com.googlecode.mgwt.dom.client.recognizer.longtap.HasLongTapHandlers, com.googlecode.mgwt.dom.client.recognizer.pinch.HasPinchHandlers, com.googlecode.mgwt.dom.client.recognizer.swipe.HasSwipeHandlers, MagnoliaShellView, Iterable<com.google.gwt.user.client.ui.Widget>
public class MagnoliaShellViewImpl
- extends com.googlecode.mgwt.ui.client.widget.touch.TouchPanel
- implements MagnoliaShellView
GWT implementation of MagnoliaShell client side (the view part basically).
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel |
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
Fields inherited from class com.googlecode.mgwt.ui.client.widget.touch.TouchPanel |
gestureUtility |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
DEBUG_ID_PREFIX |
Methods inherited from class com.googlecode.mgwt.ui.client.widget.touch.TouchPanel |
addLongTapHandler, addPinchHandler, addSwipeEndHandler, addSwipeMoveHandler, addSwipeStartHandler, addTapHandler, addTouchCancelHandler, addTouchEndHandler, addTouchHandler, addTouchMoveHandler, addTouchStartHandler |
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel |
add, clear, insert, insert |
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString |
Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets |
add, clear, iterator, remove |
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget |
asWidget |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
fireEvent |
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget |
add |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget |
getWidgetIndex |
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel |
getWidget, getWidgetCount, getWidgetIndex, remove |
CLASS_NAME
public static final String CLASS_NAME
- See Also:
- Constant Field Values
VIEWPORT_SLOT_CLASS_NAME
public static final String VIEWPORT_SLOT_CLASS_NAME
- See Also:
- Constant Field Values
MagnoliaShellViewImpl
public MagnoliaShellViewImpl()
initKeyboardShortcutSupport
protected void initKeyboardShortcutSupport()
- Bind keyboard handlers.
These commands are only processed if an input area does not have focus.
isFocusedElementAnInputField
protected boolean isFocusedElementAnInputField()
- Returns whether the currently focused element is one that accepts keyboard input.
- Returns:
elementInFocus
protected com.google.gwt.user.client.Element elementInFocus(com.google.gwt.user.client.Element element)
appViewport
protected AppsViewportWidget appViewport()
replaceWidget
protected void replaceWidget(com.google.gwt.user.client.ui.Widget oldWidget,
com.google.gwt.user.client.ui.Widget newWidget)
setPresenter
public void setPresenter(MagnoliaShellView.Presenter presenter)
- Specified by:
setPresenter
in interface MagnoliaShellView
showMessage
public void showMessage(ShellMessageWidget.MessageType type,
String topic,
String message,
String id)
- Specified by:
showMessage
in interface MagnoliaShellView
hideAllMessages
public void hideAllMessages()
- Specified by:
hideAllMessages
in interface MagnoliaShellView
updateViewport
public void updateViewport(ViewportWidget viewport,
ViewportType type)
- Specified by:
updateViewport
in interface MagnoliaShellView
shiftViewportsVertically
public void shiftViewportsVertically(int shiftPx,
boolean animated)
- Specified by:
shiftViewportsVertically
in interface MagnoliaShellView
setShellAppIndication
public void setShellAppIndication(ShellAppType type,
int indication)
- Specified by:
setShellAppIndication
in interface MagnoliaShellView
closeMessageEager
public void closeMessageEager(String id)
- Specified by:
closeMessageEager
in interface MagnoliaShellView
navigateToMessageDetails
public void navigateToMessageDetails(String id)
- Specified by:
navigateToMessageDetails
in interface MagnoliaShellView
updateShellDivet
public void updateShellDivet()
- Specified by:
updateShellDivet
in interface MagnoliaShellView
openOverlayOnWidget
public void openOverlayOnWidget(com.google.gwt.user.client.ui.Widget overlayWidget,
com.google.gwt.user.client.ui.Widget overlayParent)
- Description copied from interface:
MagnoliaShellView
- Add the overlayWidget to the Shell - but the DOM of the widget will be placed over
the DOM of the specified overlayParent.
The overlayWidget gets removed automatically -
because the component is no longer returned by MagnoliaShell iterator.
- Specified by:
openOverlayOnWidget
in interface MagnoliaShellView
onShellAppStarting
public void onShellAppStarting(ShellAppType type)
- Specified by:
onShellAppStarting
in interface MagnoliaShellView
onAppStarting
public void onAppStarting()
- Specified by:
onAppStarting
in interface MagnoliaShellView
setUserMenu
public void setUserMenu(com.google.gwt.user.client.ui.Widget widget)
- Specified by:
setUserMenu
in interface MagnoliaShellView
onLoad
public void onLoad()
- Overrides:
onLoad
in class com.google.gwt.user.client.ui.Widget
hasOverlay
public boolean hasOverlay(com.google.gwt.user.client.ui.Widget widget)
- Specified by:
hasOverlay
in interface MagnoliaShellView
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.