public class UnknownComponentConnector extends AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD| Constructor and Description |
|---|
UnknownComponentConnector() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createMessage(String serverClassName)
Creates a message that warns about the issue with the named component and
gives debugging hints.
|
boolean |
delegateCaptionHandling()
Return true if parent handles caption, false if the paintable handles the
caption itself.
|
VUnknownComponent |
getWidget()
Returns the widget associated with this paintable.
|
void |
setServerSideClassName(String serverClassName)
Updates the placeholder widget's caption to mention the component whose
connector cannot be determined.
|
createWidget, flush, getIcon, getIconUri, getLayoutManager, getState, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onStateChanged, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize, updateWidgetStyleNamesaddStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpcclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTaggetConnectorIdpublic boolean delegateCaptionHandling()
ComponentConnectorThis should always return true and all components should let the parent handle the caption and use other attributes for internal texts in the component
delegateCaptionHandling in interface ComponentConnectordelegateCaptionHandling in class AbstractComponentConnectorpublic VUnknownComponent getWidget()
AbstractComponentConnectorgetWidget in interface HasWidgetgetWidget in class AbstractComponentConnectorpublic void setServerSideClassName(String serverClassName)
serverClassName - the class name of the componentCopyright © 2023 Vaadin Ltd. All rights reserved.