Class ExportScene
java.lang.Object
javax.swing.AbstractAction
com.marginallyclever.ro3.apps.actions.ExportScene
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
Export the scene and all the assets used to a single ZIP file for sharing on another computer. This is not the same as saving the scene.
- See Also:
-
Field Summary
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when an action occurs.void
commitExport
(String absolutePath) Export the scene and all the assets used to a single file for sharing on another computer.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
ZIP_FILTER
-
-
Constructor Details
-
ExportScene
-
-
Method Details
-
actionPerformed
Invoked when an action occurs.- Parameters:
e
- the event to be processed
-
commitExport
Export the scene and all the assets used to a single file for sharing on another computer.- Parameters:
absolutePath
- the path to the file to create.
-