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.Loader
Nested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.Group
Group.Loader
-
Field Summary
Fields inherited from class org.opensourcephysics.display3d.simple3d.Element
targetPosition, targetSize
Fields 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.void
void
void
Methods inherited from class org.opensourcephysics.display3d.simple3d.Group
addElement, addElements, getData3D, getDatasets, getElement, getElements, getExtrema, getFillColors, getID, getLineColors, getLoader, getTargetHit, removeAllElements, removeElement, setID
Methods 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, toSpaceFrame
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensourcephysics.display.Data
getData3D, getDatasets, getFillColors, getID, getLineColors, getName, setID
Methods 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.Group
addElement, getElement, getElements, removeAllElements, removeElement
Methods 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:Data
The column names to be used in the data display tool- Specified by:
getColumnNames
in interfaceData
- Overrides:
getColumnNames
in classGroup
- Returns:
- an array of names
-
getData2D
public double[][] getData2D()Description copied from interface:Data
Gets 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:Data
Some 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:
getDataList
in interfaceData
- Overrides:
getDataList
in classGroup
- Returns:
- a list of Data objects, or null if this object contains data
-