Package com.luciad.model
Class TLcdSaveAction
java.lang.Object
com.luciad.gui.ALcdAction
com.luciad.model.TLcdSaveAction
- All Implemented Interfaces:
ILcdAction
,ILcdPropertyChangeSource
,ActionListener
,Serializable
,EventListener
This
ILcdAction
saves an ILcdModel
.- 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
ConstructorDescriptionDefault constructor.TLcdSaveAction
(ILcdGXYView aGXYView) Action to save a model. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Returns the view to save models from.Returns the frame to display any save dialogs in.void
setGXYView
(ILcdGXYView aGXYView) Sets the view to save models from.void
setParentFrame
(Frame aParentFrame) Sets the frame to display any save dialogs in.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
-
TLcdSaveAction
public TLcdSaveAction()Default constructor. Sets the view to null.- See Also:
-
TLcdSaveAction
Action to save a model. The model can be chosen from all layers in the view for which the model encoder is defined that can save the model of that layer.- Parameters:
aGXYView
- the collection of models from which the model to save is chosen.
-
-
Method Details
-
setGXYView
Sets the view to save models from.- Parameters:
aGXYView
- the view to save models from.- See Also:
-
getGXYView
Returns the view to save models from.- Returns:
- the view to save models from.
- See Also:
-
setParentFrame
Sets the frame to display any save dialogs in.- Parameters:
aParentFrame
- the frame to display any save dialogs in.- See Also:
-
getParentFrame
Returns the frame to display any save dialogs in.- Returns:
- the frame to display any save dialogs in.
- See Also:
-
actionPerformed
-