Class TLcdGXYViewZoomAction

java.lang.Object
com.luciad.gui.ALcdAction
com.luciad.view.gxy.TLcdGXYViewZoomAction
All Implemented Interfaces:
ILcdAction, ILcdUndoableSource, ILcdPropertyChangeSource, ActionListener, Serializable, EventListener

public class TLcdGXYViewZoomAction extends ALcdAction implements ILcdAction, ILcdUndoableSource
This is a ILcdAction (i.e. an ActionListener) for zooming a ILcdGXYView of a given zoom factor.
See Also:
  • Constructor Details Link icon

    • TLcdGXYViewZoomAction Link icon

      public TLcdGXYViewZoomAction()
  • Method Details Link icon

    • actionPerformed Link icon

      public void actionPerformed(ActionEvent aActionEvent)
      Calls doZoom( getZoomFactor(), getGXYView() );
      Specified by:
      actionPerformed in interface ActionListener
    • doZoom Link icon

      public void doZoom(double aZoomFactor, ILcdGXYView aGXYView)
      Performs a Zoom of aZoomFactor in the given ILcdGXYView
    • setGXYView Link icon

      public void setGXYView(ILcdGXYView aGXYView)
      Sets the ILcdGXYView to by considered be the actionPerformed method
    • getGXYView Link icon

      public ILcdGXYView getGXYView()
      See Also:
    • setZoomFactor Link icon

      public void setZoomFactor(double aZoomFactor)
      Sets the zoom factor to be considered by the actionPerformed method
    • getZoomFactor Link icon

      public double getZoomFactor()
      See Also:
    • addUndoableListener Link icon

      public void addUndoableListener(ILcdUndoableListener aUndoableListener)
      Description copied from interface: ILcdUndoableSource
      Adds a listener to this source, so this listener is notified when something undoable has happened.
      Specified by:
      addUndoableListener in interface ILcdUndoableSource
      Parameters:
      aUndoableListener - The listener to be notified when something undoable has happened.
    • removeUndoableListener Link icon

      public void removeUndoableListener(ILcdUndoableListener aUndoableListener)
      Description copied from interface: ILcdUndoableSource
      Removes the specified listener so it is no longer notified.
      Specified by:
      removeUndoableListener in interface ILcdUndoableSource
      Parameters:
      aUndoableListener - The listener to remove.
    • fireUndoableHappened Link icon

      protected void fireUndoableHappened(ILcdUndoable aUndoable)