public class MagnoliaShellViewImpl extends com.googlecode.mgwt.ui.client.widget.touch.TouchPanel implements MagnoliaShellView
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
MagnoliaShellView.Presenter
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
static String |
VIEWPORT_SLOT_CLASS_NAME |
Constructor and Description |
---|
MagnoliaShellViewImpl() |
Modifier and Type | Method and Description |
---|---|
protected AppsViewportWidget |
appViewport() |
void |
closeMessageEager(String id) |
protected com.google.gwt.user.client.Element |
elementInFocus(com.google.gwt.user.client.Element element) |
boolean |
hasOverlay(com.google.gwt.user.client.ui.Widget widget) |
void |
hideAllMessages() |
protected void |
initKeyboardShortcutSupport()
Bind keyboard handlers.
|
protected boolean |
isFocusedElementAnInputField()
Returns whether the currently focused element is one that accepts keyboard input.
|
void |
navigateToMessageDetails(String id) |
void |
onAppStarting() |
void |
onLoad() |
void |
onShellAppStarting(ShellAppType type) |
void |
openOverlayOnWidget(com.google.gwt.user.client.ui.Widget overlayWidget,
com.google.gwt.user.client.ui.Widget overlayParent)
Add the overlayWidget to the Shell - but the DOM of the widget will be placed over
the DOM of the specified overlayParent.
|
protected void |
replaceWidget(com.google.gwt.user.client.ui.Widget oldWidget,
com.google.gwt.user.client.ui.Widget newWidget) |
void |
setPresenter(MagnoliaShellView.Presenter presenter) |
void |
setShellAppIndication(ShellAppType type,
int indication) |
void |
setUserMenu(com.google.gwt.user.client.ui.Widget widget) |
void |
shiftViewportsVertically(int shiftPx,
boolean animated) |
void |
showMessage(ShellMessageWidget.MessageType type,
String topic,
String message,
String id) |
void |
updateShellDivet() |
void |
updateViewport(ViewportWidget viewport,
ViewportType type) |
addLongTapHandler, addPinchHandler, addSwipeEndHandler, addSwipeMoveHandler, addSwipeStartHandler, addTapHandler, addTouchCancelHandler, addTouchEndHandler, addTouchHandler, addTouchMoveHandler, addTouchStartHandler
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, clear, iterator, remove
public static final String CLASS_NAME
public static final String VIEWPORT_SLOT_CLASS_NAME
protected void initKeyboardShortcutSupport()
protected boolean isFocusedElementAnInputField()
protected com.google.gwt.user.client.Element elementInFocus(com.google.gwt.user.client.Element element)
protected AppsViewportWidget appViewport()
protected void replaceWidget(com.google.gwt.user.client.ui.Widget oldWidget, com.google.gwt.user.client.ui.Widget newWidget)
public void setPresenter(MagnoliaShellView.Presenter presenter)
setPresenter
in interface MagnoliaShellView
public void showMessage(ShellMessageWidget.MessageType type, String topic, String message, String id)
showMessage
in interface MagnoliaShellView
public void hideAllMessages()
hideAllMessages
in interface MagnoliaShellView
public void updateViewport(ViewportWidget viewport, ViewportType type)
updateViewport
in interface MagnoliaShellView
public void shiftViewportsVertically(int shiftPx, boolean animated)
shiftViewportsVertically
in interface MagnoliaShellView
public void setShellAppIndication(ShellAppType type, int indication)
setShellAppIndication
in interface MagnoliaShellView
public void closeMessageEager(String id)
closeMessageEager
in interface MagnoliaShellView
public void navigateToMessageDetails(String id)
navigateToMessageDetails
in interface MagnoliaShellView
public void updateShellDivet()
updateShellDivet
in interface MagnoliaShellView
public void openOverlayOnWidget(com.google.gwt.user.client.ui.Widget overlayWidget, com.google.gwt.user.client.ui.Widget overlayParent)
MagnoliaShellView
openOverlayOnWidget
in interface MagnoliaShellView
public void onShellAppStarting(ShellAppType type)
onShellAppStarting
in interface MagnoliaShellView
public void onAppStarting()
onAppStarting
in interface MagnoliaShellView
public void setUserMenu(com.google.gwt.user.client.ui.Widget widget)
setUserMenu
in interface MagnoliaShellView
public void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
public boolean hasOverlay(com.google.gwt.user.client.ui.Widget widget)
hasOverlay
in interface MagnoliaShellView
Copyright © 2015 Magnolia International Ltd.. All rights reserved.