Class Pinch


  • public final class Pinch
    extends AbstractNode
    Base object to map wheel options for ZoomPlugin.ID plugin configuration.
    It represents the container for WHEEL options.
    Author:
    Andrea "Stock" Stocchero
    • Field Detail

      • DEFAULT_ENABLED

        public static final boolean DEFAULT_ENABLED
        Default enabled, false.
        See Also:
        Constant Field Values
    • Method Detail

      • setEnabled

        public void setEnabled​(boolean enabled)
        Sets true to enable element for pinch zooming.
        Parameters:
        enabled - true to enable element for pinch zooming
      • isEnabled

        public boolean isEnabled()
        Returns true to enable element for pinch zooming.
        Returns:
        true to enable element for pinch zooming