Class Set
java.lang.Object
org.opensourcephysics.display3d.simple3d.Element
org.opensourcephysics.display3d.simple3d.Group
org.opensourcephysics.display3d.simple3d.Set
- All Implemented Interfaces:
Data,Element,Group,InteractionSource,Set
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensourcephysics.display3d.simple3d.Group
Group.LoaderNested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.Group
Group.Loader -
Field Summary
Fields inherited from class org.opensourcephysics.display3d.simple3d.Element
targetPosition, targetSizeFields inherited from interface org.opensourcephysics.display3d.core.Element
TARGET_POSITION, TARGET_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]The column names to be used in the data display tooldouble[][]Gets a 2D array of data.Some Data objects (e.g., a Group) do not contain data, but a list of Data objects which do.voidvoidvoidMethods inherited from class org.opensourcephysics.display3d.simple3d.Group
addElement, addElements, getData3D, getDatasets, getElement, getElements, getExtrema, getFillColors, getID, getLineColors, getLoader, getTargetHit, removeAllElements, removeElement, setIDMethods inherited from class org.opensourcephysics.display3d.simple3d.Element
addInteractionListener, getAxesMode, getDrawingPanel3D, getHotSpotBodyCoordinates, getInteractionTarget, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isReallyVisible, isVisible, loadUnmutableObjects, removeInteractionListener, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensourcephysics.display.Data
getData3D, getDatasets, getFillColors, getID, getLineColors, getName, setIDMethods 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, toSpaceFrameMethods inherited from interface org.opensourcephysics.display3d.core.Group
addElement, getElement, getElements, removeAllElements, removeElementMethods inherited from interface org.opensourcephysics.display3d.core.interaction.InteractionSource
addInteractionListener, getInteractionTarget, removeInteractionListener
-
Constructor Details
-
Set
public Set()
-
-
Method Details
-
setXLabel
-
setYLabel
-
setZLabel
-
getColumnNames
Description copied from interface:DataThe column names to be used in the data display tool- Specified by:
getColumnNamesin interfaceData- Overrides:
getColumnNamesin classGroup- Returns:
- an array of names
-
getData2D
public double[][] getData2D()Description copied from interface:DataGets a 2D array of data. The first column, double[0][] often contains x-values; Remaining columns often contain y values. May return null if data not yet generated or object does not support 2D data. -
getDataList
Description copied from interface:DataSome Data objects (e.g., a Group) do not contain data, but a list of Data objects which do. This method is used by Data displaying tools to create as many pages as needed.- Specified by:
getDataListin interfaceData- Overrides:
getDataListin classGroup- Returns:
- a list of Data objects, or null if this object contains data
-