public class SwingBreedingMorphViewPanel extends SwingMorphViewPanel implements net.richarddawkins.watchmaker.morphview.breed.BreedingMorphViewPanel
morphView
Constructor and Description |
---|
SwingBreedingMorphViewPanel(MorphView morphView,
BoxedMorphCollection page) |
Modifier and Type | Method and Description |
---|---|
void |
breedFromSelector() |
void |
breedFromSpecial() |
Morph |
getMorphOfTheHour() |
void |
paintMorphViewPanel(java.lang.Object graphicsContext,
Dim size)
Draw the MorphView's breeding box outlines (if showBoxes is set) and its
morphs, on the MorphView's centre panel.
|
void |
processMouseMotion(Point myPt,
Dim size) |
void |
processMousePressed(Point myPt,
Dim size) |
void |
setBreedFromMidBoxOnNextRepaint(boolean b) |
add, add, gainFocus, getComponent, getCursor, getDim, getPanel, initPanel, loseFocus, processMouseClicked, removeAll, repaint, setBorder, setCursor, setLayout, setOpaque, toBufferedImage, updateCursor
addPropertyChangeListener, autoScaleBasedOnMorphs, clearMorphImages, getBoxedMorphCollection, getMorphs, getMorphView, getName, getSpecial, initCursor, isAutoScale, isShowBoundingBoxes, processMouseDragged, processMouseReleased, propertyChange, removePropertyChangeListener, setAutoScale, setBoxedMorphCollection, setName, setSelectedBoxedMorph, setShowBoundingBoxes, setSpecial, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, autoScaleBasedOnMorphs, clearMorphImages, gainFocus, getBoxedMorphCollection, getCursor, getDim, getMorphs, getMorphView, getName, getPanel, getSpecial, initCursor, initPanel, isAutoScale, isShowBoundingBoxes, loseFocus, processMouseClicked, processMouseDragged, processMouseReleased, removePropertyChangeListener, repaint, setAutoScale, setBoxedMorphCollection, setCursor, setName, setSelectedBoxedMorph, setShowBoundingBoxes, setSpecial, updateCursor
public SwingBreedingMorphViewPanel(MorphView morphView, BoxedMorphCollection page)
public void processMouseMotion(Point myPt, Dim size)
processMouseMotion
in interface MorphViewPanel
processMouseMotion
in class SwingMorphViewPanel
public void processMousePressed(Point myPt, Dim size)
processMousePressed
in interface MorphViewPanel
processMousePressed
in class SimpleMorphViewPanel
public void paintMorphViewPanel(java.lang.Object graphicsContext, Dim size)
SimpleMorphViewPanel
paintMorphViewPanel
in interface MorphViewPanel
paintMorphViewPanel
in class SimpleMorphViewPanel
public void breedFromSpecial()
breedFromSpecial
in interface net.richarddawkins.watchmaker.morphview.breed.BreedingMorphViewPanel
public Morph getMorphOfTheHour()
getMorphOfTheHour
in interface MorphViewPanel
getMorphOfTheHour
in class SimpleMorphViewPanel
public void breedFromSelector()
breedFromSelector
in interface net.richarddawkins.watchmaker.morphview.breed.BreedingMorphViewPanel
public void setBreedFromMidBoxOnNextRepaint(boolean b)
setBreedFromMidBoxOnNextRepaint
in interface net.richarddawkins.watchmaker.morphview.breed.BreedingMorphViewPanel