Interface ElementBox
- All Superinterfaces:
Element,InteractionSource
- All Known Implementing Classes:
ElementBox,ElementObject
Title: ElementBox
Description: A 3D Box
- Version:
- March 2005
- Author:
- Francisco Esquembre
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.opensourcephysics.display3d.core.Element
TARGET_POSITION, TARGET_SIZE -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the box is closed at its bottom.booleanWhether the box is closed at its top.voidsetClosedBottom(boolean close) Whether the box should be closed at its bottom.voidsetClosedTop(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, toSpaceFrameMethods inherited from interface org.opensourcephysics.display3d.core.interaction.InteractionSource
addInteractionListener, getInteractionTarget, removeInteractionListener
-
Method Details
-
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
-