@UiController(value="ui_MBeanOperationFragment") @UiDescriptor(value="mbean-operation-fragment.xml") public class MBeanOperationFragment extends ScreenFragment
ScreenFragment.AfterInitEvent, ScreenFragment.AttachEvent, ScreenFragment.DetachEvent, ScreenFragment.InitEvent
Modifier and Type | Field and Description |
---|---|
protected org.springframework.beans.factory.ObjectProvider<AttributeComponentProvider> |
attributeComponentProviders |
protected CollectionLoader<ManagedBeanAttribute> |
attrLoader |
protected java.util.List<AttributeComponentProvider> |
attrProviders |
protected Label<java.lang.String> |
descriptionLabel |
protected io.jmix.core.Messages |
messages |
protected Label<java.lang.String> |
nameLabel |
protected Notifications |
notifications |
protected ManagedBeanOperation |
operation |
protected GridLayout |
operationParameters |
protected ScreenBuilders |
screenBuilders |
protected UiComponents |
uiComponents |
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
Constructor and Description |
---|
MBeanOperationFragment() |
Modifier and Type | Method and Description |
---|---|
void |
afterInit(ScreenFragment.AfterInitEvent afterInitEvent) |
protected Label<java.lang.String> |
createLabel(java.lang.String value) |
protected void |
invokeOperation(Button.ClickEvent clickEvent) |
void |
setOperation(ManagedBeanOperation operation) |
addAfterInitListener, addAttachEventListener, addDetachEventListener, addInitListener, fireEvent, getApplicationContext, getEventHub, getExtensions, getFragment, getHostController, getHostScreen, getId, getScreenData, getUiEventListeners, init, setApplicationContext, setExtensions, setFragment, setHostController, setId, setScreenData, setUiEventListeners
@Autowired protected UiComponents uiComponents
@Autowired protected Label<java.lang.String> nameLabel
@Autowired protected io.jmix.core.Messages messages
@Autowired protected Notifications notifications
@Autowired protected ScreenBuilders screenBuilders
@Autowired protected GridLayout operationParameters
@Autowired protected Label<java.lang.String> descriptionLabel
@Autowired protected org.springframework.beans.factory.ObjectProvider<AttributeComponentProvider> attributeComponentProviders
@Autowired protected CollectionLoader<ManagedBeanAttribute> attrLoader
protected ManagedBeanOperation operation
protected java.util.List<AttributeComponentProvider> attrProviders
@Subscribe public void afterInit(ScreenFragment.AfterInitEvent afterInitEvent)
@Subscribe(value="invokeBtn") protected void invokeOperation(Button.ClickEvent clickEvent)
protected Label<java.lang.String> createLabel(java.lang.String value)
public void setOperation(ManagedBeanOperation operation)