public interface AttributeWriteModeFixed extends AttributeReadModeFixed
fixed mode
attribute of an object.Modifier and Type | Method and Description |
---|---|
void |
setModeFixed(UiMode mode)
This method sets the
fixed mode of this object. |
getModeFixed
void setModeFixed(UiMode mode)
fixed mode
of this object. This will
set
the mode
to the given
mode (if not null
, recursively) and then mark the mode as fixed so
AttributeWriteMode.setMode(UiMode)
will have no effect anymore. The fixed
mode
itself will NOT be set recursively. UiMode.VIEW
in order to prevent a UI widget (a
field or even an entire sub-dialog) from switching to edit-mode (UiMode.EDIT
) so the UI widget
will always remain read-only.mode
- is the new fixed UiMode
to set. May be null
to unset fixation.Copyright © 2001–2016 mmm-Team. All rights reserved.