org.opensourcephysics.display3d.core
Interface ElementBox

All Superinterfaces:
Element, InteractionSource
All Known Implementing Classes:
ElementBox, ElementObject

public interface ElementBox
extends Element

Title: ElementBox

Description: A 3D Box

Version:
March 2005
Author:
Francisco Esquembre

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
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
 

Method Detail

setClosedBottom

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

Parameters:
close - the desired value

isClosedBottom

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

Returns:
the value

setClosedTop

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

Parameters:
close - the desired value

isClosedTop

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

Returns:
the value