|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Group
Title: Group
Description: A Group is an element that is made of other elements
Element| Nested Class Summary | |
|---|---|
static class |
Group.Loader
|
| Field Summary |
|---|
| Fields inherited from interface org.opensourcephysics.display3d.core.Element |
|---|
TARGET_POSITION, TARGET_SIZE |
| Method Summary | |
|---|---|
void |
addElement(Element element)
Adds an Element to this Group. |
Element |
getElement(int index)
Gets the elements of the group at a given index. |
java.util.List<Element> |
getElements()
Gets the cloned list of Elements in the group. |
void |
removeAllElements()
Removes all Elements from this Group |
void |
removeElement(Element element)
Removes an Element from this Group |
| 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 |
|---|
getColumnNames, getData2D, getData3D, getDataList, getDatasets, getFillColors, getID, getLineColors, getName, setID |
| Method Detail |
|---|
void addElement(Element element)
element - ElementElementvoid removeElement(Element element)
element - ElementElementvoid removeAllElements()
Elementjava.util.List<Element> getElements()
Element getElement(int index)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||