org.opensourcephysics.display3d.simple3d
Class Set

java.lang.Object
  extended by org.opensourcephysics.display3d.simple3d.Element
      extended by org.opensourcephysics.display3d.simple3d.Group
          extended by org.opensourcephysics.display3d.simple3d.Set
All Implemented Interfaces:
Data, Element, Group, InteractionSource, Set

public class Set
extends Group
implements Set


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.Group
Group.Loader
 
Field Summary
 
Fields inherited from interface org.opensourcephysics.display3d.core.Element
TARGET_POSITION, TARGET_SIZE
 
Constructor Summary
Set()
           
 
Method Summary
 java.lang.String[] getColumnNames()
          The column names to be used in the data display tool
 double[][] getData2D()
          Gets a 2D array of data.
 java.util.List<Data> getDataList()
          Some Data objects (e.g., a Group) do not contain data, but a list of Data objects which do.
 void setXLabel(java.lang.String label)
           
 void setYLabel(java.lang.String label)
           
 void setZLabel(java.lang.String label)
           
 
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, getDrawingPanel3D, getInteractionTarget, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensourcephysics.display3d.core.Group
addElement, getElement, getElements, removeAllElements, removeElement
 
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.interaction.InteractionSource
addInteractionListener, getInteractionTarget, removeInteractionListener
 
Methods inherited from interface org.opensourcephysics.display.Data
getData3D, getDatasets, getFillColors, getID, getLineColors, getName, setID
 

Constructor Detail

Set

public Set()
Method Detail

setXLabel

public void setXLabel(java.lang.String label)
Specified by:
setXLabel in interface Set

setYLabel

public void setYLabel(java.lang.String label)
Specified by:
setYLabel in interface Set

setZLabel

public void setZLabel(java.lang.String label)
Specified by:
setZLabel in interface Set

getColumnNames

public java.lang.String[] getColumnNames()
Description copied from interface: Data
The column names to be used in the data display tool

Specified by:
getColumnNames in interface Data
Overrides:
getColumnNames in class Group
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.

Specified by:
getData2D in interface Data
Overrides:
getData2D in class Group
Returns:
double[][]

getDataList

public java.util.List<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 interface Data
Overrides:
getDataList in class Group
Returns:
a list of Data objects, or null if this object contains data