public class JmixGridContextMenu<T> extends GridContextMenu<T>
GridContextMenu.GridContextMenuOpenListener<T>ContextMenu.ContextMenuOpenListenercom.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandlercom.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 |
|---|
JmixGridContextMenu(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)
Sets this as a context menu of the component.
|
void |
setEnabled(boolean enabled) |
addGridBodyContextMenuListener, addGridFooterContextMenuListener, addGridHeaderContextMenuListeneraddContextMenuOpenListener, addItem, addItem, addItem, addItemBefore, addSeparator, addSeparatorBefore, beforeClientResponse, getContextClickListener, getItems, getSize, getState, getState, isHtmlContentAllowed, open, removeItem, removeItems, setHtmlContentAllowedextend, getParent, getSupportedParentType, remove, setParentaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlerprotected com.vaadin.event.ContextClickEvent.ContextClickListener contextClickListener
protected boolean enabled
public JmixGridContextMenu(com.vaadin.ui.Grid<T> parentComponent)
public void setAsContextMenuOf(com.vaadin.event.ContextClickEvent.ContextClickNotifier component)
ContextMenusetAsContextMenuOf in class ContextMenucomponent - the component to set the context menu toprotected void onContextClick(com.vaadin.event.ContextClickEvent event)
public boolean isEnabled()
public void setEnabled(boolean enabled)