public class ElementBox extends AbstractTile implements ElementBox
Title: ElementBox
Description: Painter's algorithm implementation of a Box
corners, numberOfTilestargetPosition, targetSizeTARGET_POSITION, TARGET_SIZE| Constructor and Description |
|---|
ElementBox() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeCorners()
This will be used by subclasses whenever there is a need to recompute
the actual values of the corners before drawing.
|
static XML.ObjectLoader |
getLoader()
Returns an XML.ObjectLoader to save and load object data.
|
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.
|
GetDisplacementFactor, getTargetHit, projectPoints, setColorBelowWhenEqual, setColorOriginAndDirection, setColorRegions, setCorners, setDisplacementFactor, setDrawQuickInterioraddInteractionListener, getHotSpotBodyCoordinates, getInteractionTarget, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isReallyVisible, isVisible, loadUnmutableObjects, removeInteractionListener, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isVisible, loadUnmutableObjects, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrameaddInteractionListener, getInteractionTarget, removeInteractionListenerpublic void setClosedBottom(boolean close)
ElementBoxsetClosedBottom in interface ElementBoxclose - the desired valuepublic boolean isClosedBottom()
ElementBoxisClosedBottom in interface ElementBoxpublic void setClosedTop(boolean close)
ElementBoxsetClosedTop in interface ElementBoxclose - the desired valuepublic boolean isClosedTop()
ElementBoxisClosedTop in interface ElementBoxprotected void computeCorners()
AbstractTilecomputeCorners in class AbstractTilepublic static XML.ObjectLoader getLoader()