Class DefaultControlsKitFilter
java.lang.Object
com.levigo.jadice.web.client.rendercontrols.DefaultControlsKitFilter
- All Implemented Interfaces:
ControlsKitFilter
Default Filter
SettingsNames.AFFINE_TRANSFORM
is excluded because it won't be
serialized completely yet.
SettingsNames.DEVICE_RESOLUTION
is excluded because it should not be serialized when
person A is saving a document with a device resolution r on their machine and person B is loading
the document again, but wants to have resolution s applied as usual on their machine.
SettingsNames.ZOOM
is excluded because like SettingsNames.DEVICE_RESOLUTION
,
it is probably mostly used in cases where a person is using it as a personal preference.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allows
(SettingsNames settingsName) Checks if a setting should be included in the serialized output.
-
Constructor Details
-
DefaultControlsKitFilter
public DefaultControlsKitFilter()
-
-
Method Details
-
allows
Description copied from interface:ControlsKitFilter
Checks if a setting should be included in the serialized output.- Specified by:
allows
in interfaceControlsKitFilter
- Parameters:
settingsName
- name of the Setting.- Returns:
- whether the setting should be allowed in the output.
-