Class ZoomMinMaxRule
java.lang.Object
com.levigo.jadice.web.client.rule.AbstractPresentationRule
com.levigo.jadice.web.client.rules.ZoomMinMaxRule
- All Implemented Interfaces:
PresentationRule
Deprecated.
Sets the minimum and maximum allowed zoom factors.
-
Constructor Summary
ConstructorsConstructorDescriptionZoomMinMaxRule
(Float minZoomFactor, Float maxZoomFactor) Deprecated.Use ClientConfigurationManager.getClientConfiguration().setMaxZoomFactor(float) and ClientConfigurationManager.getClientConfiguration().setMinZoomFactor(float) instead -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the current maximum allowed zoom factor.Deprecated.Returns the current minimum allowed zoom factor.void
renderSettingChanged
(PageView view, RenderSettingsEvent evt) Deprecated.Methods inherited from class com.levigo.jadice.web.client.rule.AbstractPresentationRule
currentPageChanged, pageLayoutStyleChanged, viewResized
-
Constructor Details
-
ZoomMinMaxRule
Deprecated.Use ClientConfigurationManager.getClientConfiguration().setMaxZoomFactor(float) and ClientConfigurationManager.getClientConfiguration().setMinZoomFactor(float) insteadSets the minimum and maximum allowed zoom factors.- Parameters:
minZoomFactor
- The minimum allowed zoom factor. 1.0 correlates to 100%. A value of null disables the rule for the minimum allowed zoom factor.maxZoomFactor
- The maximum allowed zoom factor. 1.0 correlates to 100%. A value of null disables the rule for the maximum allowed zoom factor.
-
-
Method Details
-
renderSettingChanged
Deprecated.- Specified by:
renderSettingChanged
in interfacePresentationRule
- Overrides:
renderSettingChanged
in classAbstractPresentationRule
-
getMinZoom
Deprecated.Returns the current minimum allowed zoom factor.- Returns:
- The current minimum allowed zoom factor.
-
getMaxZoomFactor
Deprecated.Returns the current maximum allowed zoom factor.- Returns:
- The current maximum allowed zoom factor.
-
ClientConfiguration
for setting the minimum and maximum zoom value