public class LazyCardLayoutConnector extends LazyLayoutConnector implements EscalatorPanel.Listener
LazyLayoutConnector
for cards, aka the 6.0 UI.
TODO: as soon as 5.x UI support is dropped, this should be merged back with LazyLayoutConnector
.cachedThumbnails, idToIndex, idToUrl, indexToThumbnail, THUMBNAIL_QUERY_RPC_DELAY, waitingData
Constructor and Description |
---|
LazyCardLayoutConnector() |
Modifier and Type | Method and Description |
---|---|
protected EscalatorPanel |
createWidget() |
void |
onThumbnailClicked(int index,
boolean isMetaKeyPressed,
boolean isShiftKeyPressed) |
void |
onThumbnailDoubleClicked(int index) |
void |
onThumbnailRightClicked(int index,
int xPos,
int yPos) |
getMaxCacheRange, getState, getWidget, init, onStateChanged, purgeCache, refreshViewport, serveThumbnails, 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 EscalatorPanel createWidget()
createWidget
in class LazyLayoutConnector
public void onThumbnailClicked(int index, boolean isMetaKeyPressed, boolean isShiftKeyPressed)
onThumbnailClicked
in interface EscalatorPanel.Listener
public void onThumbnailRightClicked(int index, int xPos, int yPos)
onThumbnailRightClicked
in interface EscalatorPanel.Listener
public void onThumbnailDoubleClicked(int index)
onThumbnailDoubleClicked
in interface EscalatorPanel.Listener
Copyright © 2019 Magnolia International Ltd.. All rights reserved.