public abstract class CrawlableViewContainer extends ViewContainer
https://developers.google.com/webmasters/ajax-crawling/docs/getting-startedlogger, views| Constructor and Description |
|---|
CrawlableViewContainer(com.google.gwt.user.client.ui.Widget mainWidget)
Constructor
|
CrawlableViewContainer(com.google.gwt.user.client.ui.Widget mainWidget,
boolean clearPanelsForDeactivatedViews)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
activate(View view,
com.google.gwt.user.client.ui.Panel containerPanel,
Object parameter)
This method must be called by subclasses when any of your views is rendered.
|
protected void |
attachHistoryControlHandler() |
protected void |
bindToDOM()
This method must be called by subclasses when the container is attached to DOM
|
protected void |
dettachHistoryControlHandler() |
protected String |
getDefaultHistoryPrefix()
Return the default historyPrefix
|
String |
getHistoryControlPrefix()
Retrieve the historyControlPrefix property value.
|
boolean |
isHistoryControlEnabled()
Retrieve the historyControlEnabled property value.
|
protected abstract boolean |
isViewDisplayed(String viewId) |
void |
setHistoryControlEnabled(boolean historyControlEnabled)
Sets the historyControlEnabled property value.
|
void |
setHistoryControlPrefix(String historyControlPrefix)
Sets the historyControlPrefix property value.
|
protected void |
synchronizeHistoryState() |
protected void |
unbindToDOM()
This method must be called by subclasses when the container is detached from DOM
|
protected void |
updateViewToken(String token) |
add, add, addLazy, addView, adoptView, clear, createView, createView, deactivate, doAdd, doRemove, getContainerPanel, getMainWidget, getView, getViewFactory, handleViewTitle, hasHistoryHandlers, hasOrientationChangeHandlers, hasResizeHandlers, hasWindowCloseHandlers, hasWindowClosingHandlers, loadAndRenderView, loadView, loadView, loadView, notifyViewsAboutHistoryChange, notifyViewsAboutOrientationChange, notifyViewsAboutWindowClose, notifyViewsAboutWindowClosing, notifyViewsAboutWindowResize, remove, remove, renderView, showView, showView, showViewclaimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic CrawlableViewContainer(com.google.gwt.user.client.ui.Widget mainWidget)
mainWidget - main widget on this containerpublic CrawlableViewContainer(com.google.gwt.user.client.ui.Widget mainWidget,
boolean clearPanelsForDeactivatedViews)
mainWidget - Main widget on this containerclearPanelsForDeactivatedViews - If true, makes the container clear the container panel for a view, when the view is deactivated.public boolean isHistoryControlEnabled()
public void setHistoryControlEnabled(boolean historyControlEnabled)
historyControlEnabled - true to enable history controlpublic String getHistoryControlPrefix()
public void setHistoryControlPrefix(String historyControlPrefix)
historyControlPrefix - history prefix to setprotected String getDefaultHistoryPrefix()
protected void bindToDOM()
ViewContainerbindToDOM in class ViewContainerprotected void unbindToDOM()
ViewContainerunbindToDOM in class ViewContainerprotected boolean activate(View view, com.google.gwt.user.client.ui.Panel containerPanel, Object parameter)
ViewContaineractivate in class ViewContainerprotected void attachHistoryControlHandler()
protected void dettachHistoryControlHandler()
protected void synchronizeHistoryState()
protected void updateViewToken(String token)
protected abstract boolean isViewDisplayed(String viewId)
Copyright © 2014. All rights reserved.