public abstract class LazyLayoutConnector
extends com.vaadin.client.ui.AbstractComponentConnector
LazyLayout
.
TODO: should be merged with LazyCardLayoutConnector
once 5.x UI is dropped.Modifier and Type | Field and Description |
---|---|
protected Range |
cachedThumbnails |
protected Map<Object,Integer> |
idToIndex |
protected Map<String,String> |
idToUrl |
protected Map<Integer,ThumbnailData> |
indexToThumbnail |
protected static int |
THUMBNAIL_QUERY_RPC_DELAY |
protected boolean |
waitingData |
Constructor and Description |
---|
LazyLayoutConnector() |
Modifier and Type | Method and Description |
---|---|
protected abstract EscalatorPanel |
createWidget() |
protected Range |
getMaxCacheRange() |
ThumbnailLayoutState |
getState() |
EscalatorPanel |
getWidget() |
protected void |
init() |
void |
onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) |
protected void |
purgeCache() |
protected void |
refreshViewport() |
void |
serveThumbnails() |
void |
updateSelection() |
delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize, updateWidgetStyleNames
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag
protected static final int THUMBNAIL_QUERY_RPC_DELAY
protected Range cachedThumbnails
protected Map<Integer,ThumbnailData> indexToThumbnail
protected boolean waitingData
protected void init()
init
in class com.vaadin.client.ui.AbstractConnector
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
onStateChanged
in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
onStateChanged
in class com.vaadin.client.ui.AbstractComponentConnector
protected void refreshViewport()
public EscalatorPanel getWidget()
getWidget
in interface com.vaadin.client.HasWidget
getWidget
in class com.vaadin.client.ui.AbstractComponentConnector
public ThumbnailLayoutState getState()
getState
in interface com.vaadin.client.ComponentConnector
getState
in interface com.vaadin.client.ServerConnector
getState
in class com.vaadin.client.ui.AbstractComponentConnector
public void serveThumbnails()
protected void purgeCache()
protected Range getMaxCacheRange()
protected abstract EscalatorPanel createWidget()
createWidget
in class com.vaadin.client.ui.AbstractComponentConnector
public void updateSelection()
Copyright © 2019 Magnolia International Ltd.. All rights reserved.