Package io.jmix.jmxconsole.view
Class MBeanInfoDetailView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.BeforeLeaveObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,com.vaadin.flow.router.internal.BeforeLeaveHandler,FragmentOwner,ChangeTracker,DetailView<ManagedBeanInfo>,HasEditedEntity<ManagedBeanInfo>,ReadOnlyAwareView,ReadOnlyTracker,SupportEntityLock<ManagedBeanInfo>,Serializable
@Route(value="jmxconsole/mbeaninfo/:mbean",
layout=DefaultMainViewParent.class)
@ViewController("jmxcon_ManagedBeanInfo.detail")
@ViewDescriptor("mbean-detail-view.xml")
public class MBeanInfoDetailView
extends StandardDetailView<ManagedBeanInfo>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEventNested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEventNested classes/interfaces inherited from interface io.jmix.flowui.view.ReadOnlyTracker
ReadOnlyTracker.ReadOnlyChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CollectionContainer<ManagedBeanAttribute>protected DataGrid<ManagedBeanAttribute>protected DialogWindowsprotected JmxControlstatic final Stringprotected InstanceContainer<ManagedBeanInfo>protected MessageBundleprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected TypedTextField<String>protected UiComponentsprotected UrlParamSerializerFields inherited from class io.jmix.flowui.view.StandardDetailView
DEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected com.vaadin.flow.component.html.Spanprotected com.vaadin.flow.component.html.SpancreateSpan(String text) protected com.vaadin.flow.data.renderer.Renderer<ManagedBeanAttribute>protected Stringbooleanprotected voidprotected voidinitExistingEntity(String mbeanObjectName) protected voidprotected voidvoidprotected voidreadableWritableComponentUpdater(com.vaadin.flow.component.html.Span span, ManagedBeanAttribute attribute) protected voidreloadAttribute(ManagedBeanAttribute attribute) voidprotected voidreloadOperations(String objectName) protected voidsetupEntityToEdit(ManagedBeanInfo entityToEdit) Invoked when the view is opened in dialog window or when the view is opened by navigation andStandardDetailView.setEntityToEdit(Object)method is called inAfterViewNavigationEventhandler.protected voidMethods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addReadOnlyStateChangeListener, addValidationEventListener, beforeEnter, clearChanges, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, getLockStatus, getSaveNotificationText, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, preventUnsavedChanges, processBeforeEnterInternal, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, validateViewMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addApplicationListeners, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, configureDialogWindowFooter, configureDialogWindowHeader, getApplicationContext, getEventBus, getId, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onAttachInternal, onDetach, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPageTitle, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
MBEAN_ROUTE_PARAM_NAME
- See Also:
-
attributesDataGrid
-
mbeanDc
-
attrDc
-
operations
-
operationsSearchField
-
jmxControl
-
messageBundle
-
uiComponents
-
dialogWindows
-
urlParamSerializer
-
-
Constructor Details
-
MBeanInfoDetailView
public MBeanInfoDetailView()
-
-
Method Details
-
setupEntityToEdit
Description copied from class:StandardDetailViewInvoked when the view is opened in dialog window or when the view is opened by navigation andStandardDetailView.setEntityToEdit(Object)method is called inAfterViewNavigationEventhandler.- Overrides:
setupEntityToEditin classStandardDetailView<ManagedBeanInfo>- Parameters:
entityToEdit- entity instance to edit. Can be a new instance when the entity is being created, seeEntityStates.isNew(Object).
-
initExistingEntity
- Overrides:
initExistingEntityin classStandardDetailView<ManagedBeanInfo>
-
createSpan
-
getPageTitle
- Specified by:
getPageTitlein interfacecom.vaadin.flow.router.HasDynamicTitle- Overrides:
getPageTitlein classView<ViewLayout>
-
getRouteParamName
- Overrides:
getRouteParamNamein classStandardDetailView<ManagedBeanInfo>
-
initComponents
protected void initComponents() -
initSearchField
protected void initSearchField() -
reloadOperations
-
createStatusComponentRenderer
@Supply(to="attributesDataGrid.access", subject="renderer") protected com.vaadin.flow.data.renderer.Renderer<ManagedBeanAttribute> createStatusComponentRenderer() -
createReadableWritableComponent
protected com.vaadin.flow.component.html.Span createReadableWritableComponent() -
readableWritableComponentUpdater
protected void readableWritableComponentUpdater(com.vaadin.flow.component.html.Span span, ManagedBeanAttribute attribute) -
hasUnsavedChanges
public boolean hasUnsavedChanges()- Specified by:
hasUnsavedChangesin interfaceChangeTracker- Overrides:
hasUnsavedChangesin classStandardDetailView<ManagedBeanInfo>- Returns:
trueif the view has unsaved changes
-
attributesDataGridEditEnabledRule
-
onAttributesDataGridEdit
@Subscribe("attributesDataGrid.edit") public void onAttributesDataGridEdit(ActionPerformedEvent event) -
showAttributeDetail
protected void showAttributeDetail() -
reloadAttributes
-
reloadAttribute
-
initOperationsLayout
protected void initOperationsLayout()
-