Package org.aavso.tools.vstar.ui.mediator.message

Examples of org.aavso.tools.vstar.ui.mediator.message.ZoomRequestMessage


   * Returns the action listener to be invoked for View->Zoom In
   */
  public ActionListener createZoomInListener() {
    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        ZoomRequestMessage msg = new ZoomRequestMessage(this,
            ZoomType.ZOOM_IN);
        mediator.getZoomRequestNotifier().notifyListeners(msg);
      }
    };
  }
View Full Code Here


   * Returns the action listener to be invoked for View->Zoom Out
   */
  public ActionListener createZoomOutListener() {
    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        ZoomRequestMessage msg = new ZoomRequestMessage(this,
            ZoomType.ZOOM_OUT);
        mediator.getZoomRequestNotifier().notifyListeners(msg);
      }
    };
  }
View Full Code Here

   * Returns the action listener to be invoked for View->Zoom To Fit
   */
  public ActionListener createZoomToFitListener() {
    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        ZoomRequestMessage msg = new ZoomRequestMessage(this,
            ZoomType.ZOOM_TO_FIT);
        mediator.getZoomRequestNotifier().notifyListeners(msg);
      }
    };
  }
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.ui.mediator.message.ZoomRequestMessage

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.