|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vaadin.server.AbstractClientConnector com.vaadin.ui.AbstractComponent info.magnolia.ui.vaadin.layout.LazyThumbnailLayout
public class LazyThumbnailLayout
Lazy layout of asset thumbnails.
Nested Class Summary | |
---|---|
static interface |
LazyThumbnailLayout.LazyThumbnailProvider
Interface for the providers of the actual thumbnails. |
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. |
Nested classes/interfaces inherited from interface com.vaadin.ui.Component |
---|
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener |
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector |
---|
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 |
Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable |
---|
com.vaadin.server.Sizeable.Unit |
Field Summary |
---|
Fields inherited from interface com.vaadin.server.Sizeable |
---|
SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS |
Constructor Summary | |
---|---|
LazyThumbnailLayout()
|
Method Summary | |
---|---|
void |
addDoubleClickListener(LazyThumbnailLayout.ThumbnailDblClickListener listener)
|
void |
addRightClickListener(LazyThumbnailLayout.ThumbnailRightClickListener listener)
|
void |
addThumbnailSelectionListener(LazyThumbnailLayout.ThumbnailSelectionListener listener)
|
void |
clear()
|
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(String selectedItemId)
|
void |
setThumbnailSize(int width,
int height)
|
Methods inherited from class com.vaadin.ui.AbstractComponent |
---|
addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isConnectorEnabled, isEnabled, isImmediate, isReadOnly, isVisible, removeListener, removeShortcutListener, removeStyleName, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setHeight, setHeight, setIcon, setId, setImmediate, setLocale, setParent, setPrimaryStyleName, setReadOnly, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth |
Methods inherited from class com.vaadin.server.AbstractClientConnector |
---|
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.vaadin.ui.Component |
---|
getUI |
Methods inherited from interface com.vaadin.server.ClientConnector |
---|
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler |
Methods inherited from interface com.vaadin.shared.Connector |
---|
getConnectorId |
Constructor Detail |
---|
public LazyThumbnailLayout()
Method Detail |
---|
public void setThumbnailSize(int width, int height)
public int getThumbnailWidth()
public int getThumbnailHeight()
public void clear()
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(String selectedItemId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |