public class LazyThumbnailLayout
extends com.vaadin.ui.AbstractComponent
implements com.vaadin.data.Container.Viewer, com.vaadin.data.Container.ItemSetChangeListener
Modifier and Type | Class and Description |
---|---|
static interface |
LazyThumbnailLayout.ThumbnailDblClickListener
Listener for thumbnail double clicks.
|
static interface |
LazyThumbnailLayout.ThumbnailRightClickListener
Listener for thumbnail right clicks.
|
static interface |
LazyThumbnailLayout.ThumbnailSelectionListener
Listener interface for thumbnail selection.
|
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
LazyThumbnailLayout() |
Modifier and Type | Method and Description |
---|---|
void |
addDoubleClickListener(LazyThumbnailLayout.ThumbnailDblClickListener listener) |
void |
addRightClickListener(LazyThumbnailLayout.ThumbnailRightClickListener listener) |
void |
addThumbnailSelectionListener(LazyThumbnailLayout.ThumbnailSelectionListener listener) |
void |
beforeClientResponse(boolean initial) |
void |
containerItemSetChange(com.vaadin.data.Container.ItemSetChangeEvent event) |
com.vaadin.data.Container.Ordered |
getContainerDataSource() |
protected ThumbnailLayoutState |
getState() |
protected ThumbnailLayoutState |
getState(boolean markAsDirty) |
int |
getThumbnailHeight() |
int |
getThumbnailWidth() |
void |
refresh() |
void |
setContainerDataSource(com.vaadin.data.Container newDataSource) |
void |
setSelectedItemId(Object selectedItemId) |
void |
setThumbnailSize(int width,
int height) |
addListener, addShortcutListener, addStyleName, attach, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isImmediate, isOrHasAncestor, isReadOnly, isVisible, readDesign, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public void setThumbnailSize(int width, int height)
public int getThumbnailWidth()
public int getThumbnailHeight()
public void refresh()
public void addThumbnailSelectionListener(LazyThumbnailLayout.ThumbnailSelectionListener listener)
public void addDoubleClickListener(LazyThumbnailLayout.ThumbnailDblClickListener listener)
public void addRightClickListener(LazyThumbnailLayout.ThumbnailRightClickListener listener)
public void setContainerDataSource(com.vaadin.data.Container newDataSource)
setContainerDataSource
in interface com.vaadin.data.Container.Viewer
public com.vaadin.data.Container.Ordered getContainerDataSource()
getContainerDataSource
in interface com.vaadin.data.Container.Viewer
protected ThumbnailLayoutState getState()
getState
in class com.vaadin.ui.AbstractComponent
protected ThumbnailLayoutState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.AbstractComponent
public void setSelectedItemId(Object selectedItemId)
public void containerItemSetChange(com.vaadin.data.Container.ItemSetChangeEvent event)
containerItemSetChange
in interface com.vaadin.data.Container.ItemSetChangeListener
public void beforeClientResponse(boolean initial)
beforeClientResponse
in interface com.vaadin.server.ClientConnector
beforeClientResponse
in class com.vaadin.ui.AbstractComponent
Copyright © 2015 Magnolia International Ltd.. All rights reserved.