Package io.jmix.ui.settings
Class AbstractScreenSettings
java.lang.Object
io.jmix.ui.settings.AbstractScreenSettings
- All Implemented Interfaces:
ScreenSettings
- Direct Known Subclasses:
ScreenSettingsJson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
commit()
INTERNAL.boolean
void
setModified
(boolean modified) Set to true if screen settings changed manually.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.settings.ScreenSettings
getBoolean, getDouble, getInteger, getLong, getSettings, getSettingsOrCreate, getString, put, put, put, put, put, put, remove, remove
-
Field Details
-
screenId
-
modified
protected boolean modified
-
-
Constructor Details
-
AbstractScreenSettings
-
-
Method Details
-
setModified
public void setModified(boolean modified) Description copied from interface:ScreenSettings
Set to true if screen settings changed manually. It will guarantee that settings will be persisted.- Specified by:
setModified
in interfaceScreenSettings
- Parameters:
modified
- whether settings were modified
-
isModified
public boolean isModified()- Specified by:
isModified
in interfaceScreenSettings
- Returns:
- true if screen setting were modified
-
commit
public abstract void commit()INTERNAL. Used by the framework.Commits screen settings to the store.
-