Interface CanEditChangedHandler
- All Superinterfaces:
EventHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notification method called when thecanEdit
setting is modified.
-
Method Details
-
onCanEditChanged
Notification method called when thecanEdit
setting 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
canvas
is aDynamicForm
, the form'sDynamicForm.canEdit
setting is set tocanEdit
. shouldDisableCanvas()
is called to determine if thecanvas
should be disabled.
Standard
CanvasItem
-based form items may customize the default behavior. For example, aMultiComboBoxItem
will hide itscomboForm
if thereadOnlyDisplay
isReadOnlyDisplayAppearance.READONLY
orReadOnlyDisplayAppearance.STATIC
and also disable the buttons when made read-only.- Parameters:
event
- the event
- If
-