public abstract class EscalatorPanel
extends com.google.gwt.user.client.ui.FlowPanel
EscalatorCardsPanel
once 5.x UI is dropped.Modifier and Type | Class and Description |
---|---|
static interface |
EscalatorPanel.Listener
Listener interface for processing thumbnail click/tap events.
|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Constructor and Description |
---|
EscalatorPanel(EscalatorPanel.Listener listener,
info.magnolia.ui.vaadin.gwt.client.layout.lazylayout.widget.EscalatorPanel.Flyweight flyweight) |
Modifier and Type | Method and Description |
---|---|
protected com.google.gwt.dom.client.Element |
findThumbnail(com.google.gwt.dom.client.Element element) |
int |
getCurrentlyDisplayedThumbnails() |
int |
getCurrentThumbnailOffset() |
Range |
getDisplayedRange() |
com.google.gwt.dom.client.DivElement |
getImageContainer() |
protected int |
getThumbnailIndex(com.google.gwt.dom.client.Element element) |
void |
initialize(int thumbnailAmount,
int offset,
ThumbnailLayoutState.ThumbnailSize size,
float scaleRatio,
boolean isFirstUpdateFromState) |
int |
relativeIndex(int index) |
void |
resize() |
protected void |
scale(float ratio) |
void |
setElementSize(int width,
int height) |
void |
setSelectedThumbnailsViaIndices(List<Integer> indices) |
void |
setThumbnailAmount(int amount) |
void |
setThumbnailService(ThumbnailService thumbnailService) |
void |
updateIconFontStyle(String style,
int index) |
void |
updateImageSource(String url,
int index) |
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, onLoad, 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
getWidgetIndex
getWidget, getWidgetCount, getWidgetIndex, remove
forEach, spliterator
public EscalatorPanel(EscalatorPanel.Listener listener, info.magnolia.ui.vaadin.gwt.client.layout.lazylayout.widget.EscalatorPanel.Flyweight flyweight)
public final int getCurrentThumbnailOffset()
public int getCurrentlyDisplayedThumbnails()
public void initialize(int thumbnailAmount, int offset, ThumbnailLayoutState.ThumbnailSize size, float scaleRatio, boolean isFirstUpdateFromState)
public void setThumbnailService(ThumbnailService thumbnailService)
public void setThumbnailAmount(int amount)
public void setElementSize(int width, int height)
public Range getDisplayedRange()
public void resize()
protected com.google.gwt.dom.client.Element findThumbnail(com.google.gwt.dom.client.Element element)
protected int getThumbnailIndex(com.google.gwt.dom.client.Element element)
protected void scale(float ratio)
public void updateImageSource(String url, int index)
public int relativeIndex(int index)
public void updateIconFontStyle(String style, int index)
public com.google.gwt.dom.client.DivElement getImageContainer()
Copyright © 2019 Magnolia International Ltd.. All rights reserved.