Interface CanEditChangedHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidNotification method called when thecanEditsetting is modified.
-
Method Details
-
onCanEditChanged
Notification method called when thecanEditsetting is modified. Developers may make use of this to toggle between an editable and a read-only appearance of thecanvas.The default behavior is:
- If
canvasis aDynamicForm, the form'sDynamicForm.canEditsetting is set tocanEdit. shouldDisableCanvas()is called to determine if thecanvasshould be disabled.
Standard
CanvasItem-based form items may customize the default behavior. For example, aMultiComboBoxItemwill hide itscomboFormif thereadOnlyDisplayisReadOnlyDisplayAppearance.READONLYorReadOnlyDisplayAppearance.STATICand also disable the buttons when made read-only.- Parameters:
event- the event
- If
-