Package io.jmix.flowui.facet.settings
Class AbstractViewSettings
java.lang.Object
io.jmix.flowui.facet.settings.AbstractViewSettings
- All Implemented Interfaces:
ViewSettings
- Direct Known Subclasses:
ViewSettingsJson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetModified(boolean modified) Set totrueif screen settings changed manually.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.facet.settings.ViewSettings
delete, delete, getBoolean, getDouble, getInteger, getLong, getSettings, getSettingsOrCreate, getString, initialize, put, put, put, put, put, put, serialize
-
Field Details
-
viewId
-
modified
protected boolean modified
-
-
Constructor Details
-
AbstractViewSettings
-
-
Method Details
-
getViewId
- Specified by:
getViewIdin interfaceViewSettings- Returns:
- a
Viewid to which settings are corresponded
-
setModified
public void setModified(boolean modified) Description copied from interface:ViewSettingsSet totrueif screen settings changed manually. It guarantees that settings will be persisted.- Specified by:
setModifiedin interfaceViewSettings- Parameters:
modified- whether settings were modified
-
isModified
public boolean isModified()- Specified by:
isModifiedin interfaceViewSettings- Returns:
trueif settings were modified
-