Interface ElementObject
- All Superinterfaces:
Element
,InteractionSource
- All Known Implementing Classes:
ElementObject
Title: ElementLoad
Description: Load a external object from a file.
- Version:
- March 2005
- Author:
- Francisco Esquembre
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.opensourcephysics.display3d.core.Element
TARGET_POSITION, TARGET_SIZE
-
Method Summary
Modifier and TypeMethodDescriptionGets the image displayedvoid
setObjectFile
(String file) Sets the image file to be displayedMethods inherited from interface org.opensourcephysics.display3d.core.Element
getDrawingPanel3D, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isVisible, loadUnmutableObjects, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrame
Methods inherited from interface org.opensourcephysics.display3d.core.interaction.InteractionSource
addInteractionListener, getInteractionTarget, removeInteractionListener
-
Method Details
-
setObjectFile
Sets the image file to be displayed- Parameters:
text
- the String
-
getObjectFile
String getObjectFile()Gets the image displayed
-