Class SatelliteTranslatingGraphMousePlugin

  • All Implemented Interfaces:
    GraphMousePlugin, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener

    public class SatelliteTranslatingGraphMousePlugin
    extends TranslatingGraphMousePlugin
    Overrides TranslatingGraphMousePlugin so that mouse events in the satellite view cause translating of the main view
    See Also:
    TranslatingGraphMousePlugin
    • Constructor Detail

      • SatelliteTranslatingGraphMousePlugin

        public SatelliteTranslatingGraphMousePlugin()
      • SatelliteTranslatingGraphMousePlugin

        public SatelliteTranslatingGraphMousePlugin​(int modifiers)
    • Method Detail

      • mouseDragged

        public void mouseDragged​(java.awt.event.MouseEvent e)
        Check the modifiers. If accepted, translate the main view according to the dragging of the mouse pointer in the satellite view
        Specified by:
        mouseDragged in interface java.awt.event.MouseMotionListener
        Overrides:
        mouseDragged in class TranslatingGraphMousePlugin
        Parameters:
        e - the event