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
,ChangeTracker
,DetailView<ManagedBeanInfo>
,ReadOnlyAwareView
,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.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected CollectionContainer<ManagedBeanAttribute>
protected DataGrid<ManagedBeanAttribute>
protected DialogWindows
protected JmxControl
static final String
protected InstanceContainer<ManagedBeanInfo>
protected MessageBundle
protected MessageTools
protected Metadata
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected TypedTextField<String>
protected UiComponents
protected UrlParamSerializer
Fields 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected com.vaadin.flow.component.html.Span
protected com.vaadin.flow.component.html.Span
createSpan
(String text) protected com.vaadin.flow.data.renderer.ComponentRenderer<com.vaadin.flow.component.html.Span,
ManagedBeanAttribute> protected String
boolean
protected void
protected void
protected void
initExistingEntity
(String mbeanObjectName) protected void
protected void
void
protected void
readableWritableComponentUpdater
(com.vaadin.flow.component.html.Span span, ManagedBeanAttribute attribute) protected void
reloadAttribute
(ManagedBeanAttribute attribute) void
protected void
reloadOperations
(String objectName) protected void
Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, entityCanBeLoaded, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getPessimisticLockStatus, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods 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
-
metadata
-
messageTools
-
messageBundle
-
uiComponents
-
dialogWindows
-
urlParamSerializer
-
-
Constructor Details
-
MBeanInfoDetailView
public MBeanInfoDetailView()
-
-
Method Details
-
initExistingEntity
- Overrides:
initExistingEntity
in classStandardDetailView<ManagedBeanInfo>
-
createSpan
-
getPageTitle
- Specified by:
getPageTitle
in interfacecom.vaadin.flow.router.HasDynamicTitle
- Overrides:
getPageTitle
in classView<ViewLayout>
-
getRouteParamName
- Overrides:
getRouteParamName
in classStandardDetailView<ManagedBeanInfo>
-
initComponents
protected void initComponents() -
initSearchField
protected void initSearchField() -
reloadOperations
-
initDataGridColumns
protected void initDataGridColumns() -
createStatusComponentRenderer
protected com.vaadin.flow.data.renderer.ComponentRenderer<com.vaadin.flow.component.html.Span,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:
hasUnsavedChanges
in interfaceChangeTracker
- Overrides:
hasUnsavedChanges
in classStandardDetailView<ManagedBeanInfo>
- Returns:
true
if 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()
-