Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.uci.ics.jung.visualization.control
Class LensMagnificationGraphMousePlugin

    java.lang.Object
      edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
          edu.uci.ics.jung.visualization.control.LensMagnificationGraphMousePlugin

All Implemented Interfaces:
  EventListener, GraphMousePlugin, MouseWheelListener

public class LensMagnificationGraphMousePlugin
extends AbstractGraphMousePlugin
implements MouseWheelListener

HyperbolicMagnificationGraphMousePlugin changes the magnification within the Hyperbolic projection of the HyperbolicTransformer.

Author:
  Tom Nelson

Field Summary
`protected float` | `ceiling`
`protected float` | `delta`
`protected float` | `floor`

Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
`cursor, down, modifiers`

Constructor Summary
`LensMagnificationGraphMousePlugin()` create an instance with default zoom in/out values
`LensMagnificationGraphMousePlugin(float floor, float ceiling, float delta)` create an instance with passed modifiers
`LensMagnificationGraphMousePlugin(int modifiers)`
`LensMagnificationGraphMousePlugin(int modifiers, float floor, float ceiling, float delta)`

Method Summary
`boolean` | `checkModifiers(MouseEvent e)` override to check equality with a mask
`void` | `mouseWheelMoved(MouseWheelEvent e)` zoom the display in or out, depending on the direction of the mouse wheel motion.

Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
`getCursor, getModifiers, setCursor, setModifiers`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### floor

    protected float floor

### ceiling

    protected float ceiling

### delta

    protected float delta

Constructor Detail

### LensMagnificationGraphMousePlugin

    public LensMagnificationGraphMousePlugin()

  create an instance with default zoom in/out values

### LensMagnificationGraphMousePlugin

    public LensMagnificationGraphMousePlugin(float floor,
                                             float ceiling,
                                             float delta)

  create an instance with passed modifiers

### LensMagnificationGraphMousePlugin

    public LensMagnificationGraphMousePlugin(int modifiers)

### LensMagnificationGraphMousePlugin

    public LensMagnificationGraphMousePlugin(int modifiers,
                                             float floor,
                                             float ceiling,
                                             float delta)

Method Detail

### checkModifiers

    public boolean checkModifiers(MouseEvent e)

  override to check equality with a mask

  Specified by:
    `checkModifiers` in interface `GraphMousePlugin`
  Overrides:
    `checkModifiers` in class `AbstractGraphMousePlugin`

### mouseWheelMoved

    public void mouseWheelMoved(MouseWheelEvent e)

  zoom the display in or out, depending on the direction of the mouse wheel motion.

  Specified by:
    `mouseWheelMoved` in interface `MouseWheelListener`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD