Class ComponentPopupStore

java.lang.Object
com.vaadin.swingbridge.surrogates.internal.ComponentPopupStore

public final class ComponentPopupStore extends Object
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 Details

  • Method Details