Package io.jmix.masquerade.component
Interface HasActions<T extends HasActions<T>>
- Type Parameters:
T
- inheritor class type
- All Superinterfaces:
ByLocator
- All Known Implementing Classes:
EntityComboBox
,EntityPicker
,MultiSelectComboBoxPicker
,MultiValuePicker
,ValuePicker
Interface for a web-element wrappers that have an actions to trigger.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault T
triggerAction
(String actionId) Triggers the action with the passed ID by clicking button.default <V extends Composite<V>>
VtriggerActionWithView
(Class<V> clazz, String actionId) Triggers the actions with the passed ID by clicking button and returns the opened wired composite (view).
-
Field Details
-
OPEN
Default open action ID.- See Also:
-
LOOKUP
Default lookup action ID.- See Also:
-
CLEAR
Default clear action ID.- See Also:
-
-
Method Details
-
triggerAction
Triggers the action with the passed ID by clicking button.- Parameters:
actionId
- action ID to trigger- Returns:
this
to call fluent API
-
triggerActionWithView
Triggers the actions with the passed ID by clicking button and returns the opened wired composite (view).- Type Parameters:
V
- composite class type- Parameters:
clazz
- composite class to wire and returnactionId
- action ID to trigger- Returns:
- wired web-element wrapper for opened composite
-