Package com.luciad.view.gxy
Class TLcdFitSelectionInViewClipAction
java.lang.Object
com.luciad.gui.ALcdAction
com.luciad.view.gxy.TLcdFitSelectionInViewClipAction
- All Implemented Interfaces:
ILcdAction
,ILcdPropertyChangeSource
,ActionListener
,Serializable
,EventListener
Action to fit all selected objects of a view within the view clip.
If no objects are selected, no action is performed.
- See Also:
-
Field Summary
Fields inherited from class com.luciad.gui.ALcdAction
changeSupport
Fields inherited from interface com.luciad.gui.ILcdAction
DEFAULT, LONG_DESCRIPTION, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SHOW_ACTION_NAME, SMALL_ICON, VISIBLE
-
Constructor Summary
ConstructorDescriptionTLcdFitSelectionInViewClipAction
(ILcdGXYView aGXYView) TLcdFitSelectionInViewClipAction
(ILcdGXYView aGXYView, double aScaleRatio) -
Method Summary
Modifier and TypeMethodDescriptionvoid
double
void
setGXYView
(ILcdGXYView aGXYView) void
setScaleRatio
(double aScaleRatio) Set the scale ratio.Methods inherited from class com.luciad.gui.ALcdAction
addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getLongDescription, getName, getShortDescription, getValue, isEnabled, isTraceOn, putValue, registerInstance, removePropertyChangeListener, setClassTraceOn, setDisplayName, setEnabled, setIcon, setLongDescription, setName, setShortDescription, setTraceOn
-
Constructor Details
-
TLcdFitSelectionInViewClipAction
public TLcdFitSelectionInViewClipAction() -
TLcdFitSelectionInViewClipAction
-
TLcdFitSelectionInViewClipAction
-
-
Method Details
-
setGXYView
-
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
-