public class BoxedMorph extends LocatedMorph
Constructor and Description |
---|
BoxedMorph(BoxManager boxes,
Morph morph,
Rect box) |
Modifier and Type | Method and Description |
---|---|
boolean |
genomicallyEquals(BoxedMorph thatBoxedMorph) |
Rect |
getBox() |
BoxManager |
getBoxes() |
Rect |
getDestinationBox() |
Point |
getPosition(Dim dimension) |
void |
kill() |
void |
setBox(Rect newValue) |
void |
setBoxes(BoxManager boxes) |
void |
setDestinationBox(Rect newValue) |
java.lang.String |
toString() |
addProperyChangeListener, firePropertyChange, getDestination, getMorph, getPosition, getProgress, isScaleWithProgress, nudge, removeProperyChangeListener, setDestination, setMorph, setPosition, setProgress, setScaleWithProgress
public BoxedMorph(BoxManager boxes, Morph morph, Rect box)
public boolean genomicallyEquals(BoxedMorph thatBoxedMorph)
public Rect getBox()
public BoxManager getBoxes()
public Rect getDestinationBox()
public void kill()
kill
in class LocatedMorph
public void setBox(Rect newValue)
public void setBoxes(BoxManager boxes)
public void setDestinationBox(Rect newValue)
public java.lang.String toString()
toString
in class java.lang.Object