public abstract class AbstractLinkField<T,P>
extends com.vaadin.ui.CustomField<T>
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
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
Modifier and Type | Method and Description |
---|---|
void |
addClickListener(com.vaadin.ui.Button.ClickListener buttonClickListener) |
protected void |
doSetValue(T value) |
T |
getEmptyValue() |
abstract Optional<P> |
getSelectedItem() |
T |
getValue() |
protected com.vaadin.ui.Component |
initContent() |
boolean |
isEditable() |
boolean |
isEmpty() |
void |
setButtonCaptionNew(String buttonCaptionNew) |
void |
setContentPreview(com.vaadin.ui.Component contentPreviewComponent) |
void |
setContentPreview(ItemPreviewComponent<P> contentPreviewComponent) |
void |
setDisableOnClick(boolean disable) |
void |
setEditable(boolean editable) |
void |
setEnabled(boolean enabled) |
void |
setReadOnly(boolean readOnly) |
abstract void |
setSelectedItem(P item) |
attach, focus, getContent, getState, getState, getTabIndex, iterator, setFocusDelegate, setHeight, setTabIndex, setWidth
addValueChangeListener, createValueChange, getCustomAttributes, isDifferentValue, isReadOnly, isRequiredIndicatorVisible, readDesign, setRequiredIndicatorVisible, setValue, setValue, writeDesign
addContextClickListener, addListener, addShortcutListener, addStyleName, beforeClientResponse, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidthFull, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, 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, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidthFull, setWidthUndefined
forEach, spliterator
protected com.vaadin.ui.Component initContent()
initContent
in class com.vaadin.ui.CustomField<T>
protected void doSetValue(T value)
doSetValue
in class com.vaadin.ui.AbstractField<T>
public T getValue()
public boolean isEmpty()
public boolean isEditable()
public void setEditable(boolean editable)
public void setButtonCaptionNew(String buttonCaptionNew)
public void setDisableOnClick(boolean disable)
public void addClickListener(com.vaadin.ui.Button.ClickListener buttonClickListener)
public void setEnabled(boolean enabled)
setEnabled
in interface com.vaadin.ui.Component
setEnabled
in class com.vaadin.ui.AbstractComponent
public void setContentPreview(com.vaadin.ui.Component contentPreviewComponent)
public void setContentPreview(ItemPreviewComponent<P> contentPreviewComponent)
public void setReadOnly(boolean readOnly)
public T getEmptyValue()
public abstract void setSelectedItem(P item)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.