org.opensourcephysics.display3d.core
Interface ElementBox

All Superinterfaces:
Element, org.opensourcephysics.display3d.core.interaction.InteractionSource
All Known Implementing Classes:
ElementBox

public interface ElementBox
extends Element

Title: ElementBox

Description: A 3D Box


Nested Class Summary
static class ElementBox.Loader
           
 
Field Summary
 
Fields inherited from interface org.opensourcephysics.display3d.core.Element
TARGET_POSITION, TARGET_SIZE
 
Method Summary
 boolean isClosedBottom()
          Whether the box is closed at its bottom.
 boolean isClosedTop()
          Whether the box is closed at its top.
 void setClosedBottom(boolean close)
          Whether the box should be closed at its bottom.
 void setClosedTop(boolean close)
          Whether the box should be closed at its top.
 
Methods inherited from interface org.opensourcephysics.display3d.core.Element
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 Detail

setClosedBottom

public void setClosedBottom(boolean close)
Whether the box should be closed at its bottom.

Parameters:
close - the desired value

isClosedBottom

public boolean isClosedBottom()
Whether the box is closed at its bottom.

Returns:
the value

setClosedTop

public void setClosedTop(boolean close)
Whether the box should be closed at its top.

Parameters:
close - the desired value

isClosedTop

public boolean isClosedTop()
Whether the box is closed at its top.

Returns:
the value