Package net.alteiar.zoom

Examples of net.alteiar.zoom.MoveZoomListener


  private final MapEditableInfo mapInfo;
  private final MoveZoomListener listener;

  public MoveMapListener(MapEditableInfo mapInfo) {
    this.mapInfo = mapInfo;
    listener = new MoveZoomListener(mapInfo.getMoveZoomPanel());
  }
View Full Code Here


        PanelImage imgPane = new PanelImage(img);
        PanelMoveZoom<PanelImage> scroll = new PanelMoveZoom<PanelImage>(
            imgPane);

        MoveZoomListener listener = new MoveZoomListener(scroll);
        scroll.addMouseListener(listener);
        scroll.addMouseMotionListener(listener);
        scroll.addMouseWheelListener(listener);

        imgPane.addMouseListener(listener);
View Full Code Here

    zoomableMap = new PanelMapPrevious(map);
    PanelMoveZoom<PanelMapPrevious> panelPreviousZoom = new PanelMoveZoom<PanelMapPrevious>(
        zoomableMap);

    MoveZoomListener listener = new MoveZoomListener(panelPreviousZoom);
    zoomableMap.addMouseListener(listener);
    zoomableMap.addMouseMotionListener(listener);
    zoomableMap.addMouseWheelListener(listener);

    GridBagConstraints gbc_panelPrevious = new GridBagConstraints();
View Full Code Here

TOP

Related Classes of net.alteiar.zoom.MoveZoomListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.