Interface ControlEvent<C>
- Type Parameters:
C- the control type
- All Superinterfaces:
Event
- All Known Subinterfaces:
ValueEvent<C,V>
A control's Post event: something happened, such as a press or a close. It fires after the fact, whether the user
or code caused it, and cannot be canceled.
Only Strata creates events. Do not implement this interface.
-
Method Summary
Methods inherited from interface Event
cause, current, isPropagationStopped, origin, stopPropagation, target
-
Method Details
-
control
C control()Returns the control that fired the event. For a control that is a component this is also the event's target. For one that is not, the target is a component that stands for it: a radio group'sSELECTEDis aimed at the button newly selected, or at the one that lost the selection when it was cleared, and an overlay'sCLOSEDat the overlay's content.- Returns:
- the control, typed as the attribute or control that declares the event type
-