Class LensMagnificationGraphMousePlugin

    • Field Detail

      • floor

        protected final float floor
      • ceiling

        protected final float ceiling
      • delta

        protected final float delta
      • modifiers

        protected int modifiers
    • Constructor Detail

      • LensMagnificationGraphMousePlugin

        public LensMagnificationGraphMousePlugin()
        Creates an instance with modifier of CTRL_DOWN_MASK, and default min/max/delta zoom values of 1/4/0.2.
      • LensMagnificationGraphMousePlugin

        public LensMagnificationGraphMousePlugin​(float floor,
                                                 float ceiling,
                                                 float delta)
        Creates an instance with modifier of CTRL_DOWN_MASK, and the specified zoom parameters.
        Parameters:
        floor - the minimum zoom value
        ceiling - the maximum zoom value
        delta - the change in zoom value caused by each mouse event
      • LensMagnificationGraphMousePlugin

        public LensMagnificationGraphMousePlugin​(int modifiers)
        Creates an instance with the specified modifiers and the default min/max/delta zoom values of 1/4/0.2.
        Parameters:
        modifiers - the mouse event modifiers to specify
      • LensMagnificationGraphMousePlugin

        public LensMagnificationGraphMousePlugin​(int modifiers,
                                                 float floor,
                                                 float ceiling,
                                                 float delta)
        Creates an instance with the specified mouse event modifiers and zoom parameters.
        Parameters:
        modifiers - the mouse event modifiers to specify
        floor - the minimum zoom value
        ceiling - the maximum zoom value
        delta - the change in zoom value caused by each mouse event