Class MenuResourcePolicyModelCreateView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.securityflowui.view.resourcepolicy.MultipleResourcePolicyModelCreateView
io.jmix.securityflowui.view.resourcepolicy.MenuResourcePolicyModelCreateView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,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,Serializable
@ViewController("sec_MenuResourcePolicyModel.create")
@ViewDescriptor("menu-resource-policy-model-create-view.xml")
@DialogMode(width="32em")
public class MenuResourcePolicyModelCreateView
extends MultipleResourcePolicyModelCreateView
- See Also:
-
Nested Class Summary
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
Fields inherited from class io.jmix.securityflowui.view.resourcepolicy.MultipleResourcePolicyModelCreateView
SAVE_ACTION_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonInit(View.InitEvent event) protected voidonPolicyGroupFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) protected voidonViewAccessFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixCheckbox, Boolean> event) protected voidonViewFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) protected ValidationErrorsMethods inherited from class io.jmix.securityflowui.view.resourcepolicy.MultipleResourcePolicyModelCreateView
closeWithDiscard, closeWithSave, createSaveAction, initScreenActions, onBeforeClose, onMultipleResourcePolicyModelCreateViewInit, validateAndCloseMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, onDetach, setApplicationContext, setId, setViewActions, setViewData, setViewFacetsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods 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, onAttach, onEnabledStateChanged, 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
addDetachListener
-
Constructor Details
-
MenuResourcePolicyModelCreateView
public MenuResourcePolicyModelCreateView()
-
-
Method Details
-
onInit
-
onPolicyGroupFieldValueChange
@Subscribe("policyGroupField") protected void onPolicyGroupFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) -
onViewFieldValueChange
@Subscribe("viewField") protected void onViewFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<TypedTextField<String>, String> event) -
onViewAccessFieldValueChange
@Subscribe("viewAccessField") protected void onViewAccessFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixCheckbox, Boolean> event) -
validateView
- Specified by:
validateViewin classMultipleResourcePolicyModelCreateView
-
getResourcePolicies
- Specified by:
getResourcePoliciesin classMultipleResourcePolicyModelCreateView
-
hasUnsavedChanges
public boolean hasUnsavedChanges()- Specified by:
hasUnsavedChangesin classMultipleResourcePolicyModelCreateView
-