Class ZoomMinMaxRule

java.lang.Object
com.levigo.jadice.web.client.rule.AbstractPresentationRule
com.levigo.jadice.web.client.rules.ZoomMinMaxRule
All Implemented Interfaces:
PresentationRule

public class ZoomMinMaxRule extends AbstractPresentationRule
Deprecated.
Use the ClientConfiguration for setting the minimum and maximum zoom value
Sets the minimum and maximum allowed zoom factors.
  • Constructor Details

    • ZoomMinMaxRule

      public ZoomMinMaxRule(Float minZoomFactor, Float maxZoomFactor)
      Deprecated.
      Use ClientConfigurationManager.getClientConfiguration().setMaxZoomFactor(float) and ClientConfigurationManager.getClientConfiguration().setMinZoomFactor(float) instead
      Sets 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