Class TLcdFitSelectionInViewClipAction

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

public class TLcdFitSelectionInViewClipAction extends ALcdAction
Action to fit all selected objects of a view within the view clip. If no objects are selected, no action is performed.
See Also:
  • Constructor Details

    • TLcdFitSelectionInViewClipAction

      public TLcdFitSelectionInViewClipAction()
    • TLcdFitSelectionInViewClipAction

      public TLcdFitSelectionInViewClipAction(ILcdGXYView aGXYView)
    • TLcdFitSelectionInViewClipAction

      public TLcdFitSelectionInViewClipAction(ILcdGXYView aGXYView, double aScaleRatio)
  • Method Details

    • setGXYView

      public void setGXYView(ILcdGXYView aGXYView)
    • getGXYView

      public ILcdGXYView getGXYView()
    • setScaleRatio

      public void setScaleRatio(double aScaleRatio)
      Set the scale ratio. The action will zoom out a factor after the fit to the selection has been performed.
    • getScaleRatio

      public double getScaleRatio()
    • actionPerformed

      public void actionPerformed(ActionEvent e)