public class CubaButton
extends com.vaadin.ui.Button
Modifier and Type | Class and Description |
---|---|
protected static class |
CubaButton.CubaClickShortcut |
com.vaadin.ui.Button.ClickEvent, com.vaadin.ui.Button.ClickListener, com.vaadin.ui.Button.ClickShortcut
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, 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
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Consumer<com.vaadin.shared.MouseEventDetails> |
clickHandler |
Constructor and Description |
---|
CubaButton() |
CubaButton(java.lang.String caption) |
CubaButton(java.lang.String caption,
com.vaadin.ui.Button.ClickListener listener) |
Modifier and Type | Method and Description |
---|---|
protected void |
fireClick() |
protected void |
fireClick(com.vaadin.shared.MouseEventDetails details) |
java.util.function.Consumer<com.vaadin.shared.MouseEventDetails> |
getClickHandler() |
protected com.haulmont.cuba.web.widgets.client.button.CubaButtonState |
getState() |
protected com.haulmont.cuba.web.widgets.client.button.CubaButtonState |
getState(boolean markAsDirty) |
boolean |
isUseResponsePending() |
void |
setClickHandler(java.util.function.Consumer<com.vaadin.shared.MouseEventDetails> clickHandler) |
void |
setClickShortcut(int keyCode,
int... modifiers) |
void |
setUseResponsePending(boolean useResponsePending) |
addClickListener, click, getCustomAttributes, getIconAlternateText, isDisableOnClick, isHtmlContentAllowed, readDesign, removeClickListener, removeClickShortcut, setDisableOnClick, setHtmlContentAllowed, setIcon, setIconAlternateText, writeDesign
addBlurListener, addFocusListener, focus, getTabIndex, setTabIndex
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredError, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, 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, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addShortcutListener, removeShortcutListener
addListener, addStyleName, addStyleNames, attach, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected java.util.function.Consumer<com.vaadin.shared.MouseEventDetails> clickHandler
public CubaButton()
public CubaButton(java.lang.String caption)
public CubaButton(java.lang.String caption, com.vaadin.ui.Button.ClickListener listener)
protected com.haulmont.cuba.web.widgets.client.button.CubaButtonState getState()
getState
in class com.vaadin.ui.Button
protected com.haulmont.cuba.web.widgets.client.button.CubaButtonState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.Button
protected void fireClick()
fireClick
in class com.vaadin.ui.Button
protected void fireClick(com.vaadin.shared.MouseEventDetails details)
fireClick
in class com.vaadin.ui.Button
public java.util.function.Consumer<com.vaadin.shared.MouseEventDetails> getClickHandler()
public void setClickHandler(java.util.function.Consumer<com.vaadin.shared.MouseEventDetails> clickHandler)
public boolean isUseResponsePending()
public void setUseResponsePending(boolean useResponsePending)
public void setClickShortcut(int keyCode, int... modifiers)
setClickShortcut
in class com.vaadin.ui.Button