public class CubaGridContextMenu<T>
extends com.haulmont.cuba.web.widgets.addons.contextmenu.GridContextMenu<T>
com.haulmont.cuba.web.widgets.addons.contextmenu.GridContextMenu.GridContextMenuOpenListener<T>
com.haulmont.cuba.web.widgets.addons.contextmenu.ContextMenu.ContextMenuOpenListener
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
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
Modifier and Type | Field and Description |
---|---|
protected com.vaadin.event.ContextClickEvent.ContextClickListener |
contextClickListener |
protected boolean |
enabled |
Constructor and Description |
---|
CubaGridContextMenu(com.vaadin.ui.Grid<T> parentComponent) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
protected void |
onContextClick(com.vaadin.event.ContextClickEvent event) |
void |
setAsContextMenuOf(com.vaadin.event.ContextClickEvent.ContextClickNotifier component) |
void |
setEnabled(boolean enabled) |
addGridBodyContextMenuListener, addGridFooterContextMenuListener, addGridHeaderContextMenuListener
addContextMenuOpenListener, addItem, addItem, addItem, addItemBefore, addSeparator, addSeparatorBefore, beforeClientResponse, getContextClickListener, getItems, getSize, getState, getState, isHtmlContentAllowed, open, removeItem, removeItems, setHtmlContentAllowed
extend, getParent, getSupportedParentType, remove, setParent
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected com.vaadin.event.ContextClickEvent.ContextClickListener contextClickListener
protected boolean enabled
public CubaGridContextMenu(com.vaadin.ui.Grid<T> parentComponent)
public void setAsContextMenuOf(com.vaadin.event.ContextClickEvent.ContextClickNotifier component)
setAsContextMenuOf
in class com.haulmont.cuba.web.widgets.addons.contextmenu.ContextMenu
protected void onContextClick(com.vaadin.event.ContextClickEvent event)
public boolean isEnabled()
public void setEnabled(boolean enabled)