Class ComponentPopupStore
java.lang.Object
com.vaadin.swingbridge.surrogates.internal.ComponentPopupStore
State holder for
JComponentMixin.setComponentPopupMenu (SD_sjpopupmenu).
Carries the single SJPopupMenu reference a component has had
installed as its context popup. The reference is backed by a live
Vaadin binding — setComponentPopupMenu calls
ContextMenuBase.setTarget(Component) on the
popup with this component as the target — so storing it satisfies R_vaadin_first's
"storage backed by a Vaadin counterpart" test (it drives the context-menu
UI, like an installed Action or ButtonModel); it is not a
round-trip-only shadow cache.
Lazily attached per-component via ComponentUtil data, same shape
as MenuBarStateStore / InputMapStore.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe currently installed component popup, ornull. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentPopupStoreof(com.vaadin.flow.component.Component target)
-
Field Details
-
popup
The currently installed component popup, ornull.
-
-
Method Details
-
of
-