public abstract class SwingMorphViewPanel extends SimpleMorphViewPanel implements net.richarddawkins.watchmaker.component.WatchPanel
morphView
Constructor and Description |
---|
SwingMorphViewPanel(MorphView morphView,
BoxedMorphCollection page) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.Object newComponent) |
void |
add(java.lang.Object newComponent,
java.lang.Object constraints) |
void |
gainFocus() |
java.lang.Object |
getComponent() |
java.lang.Object |
getCursor() |
Dim |
getDim() |
java.lang.Object |
getPanel() |
void |
initPanel() |
void |
loseFocus() |
void |
processMouseClicked(Point myPt,
Dim Size) |
void |
processMouseMotion(Point myPt,
Dim size) |
void |
removeAll() |
void |
repaint() |
void |
setBorder(java.lang.Object border) |
void |
setCursor(java.lang.Object cursor) |
void |
setLayout(java.lang.Object mgr) |
void |
setOpaque(boolean isOpaque) |
static java.awt.image.BufferedImage |
toBufferedImage(java.lang.Object image)
Converts a given Image into a BufferedImage
|
void |
updateCursor() |
addPropertyChangeListener, autoScaleBasedOnMorphs, clearMorphImages, getBoxedMorphCollection, getMorphOfTheHour, getMorphs, getMorphView, getName, getSpecial, initCursor, isAutoScale, isShowBoundingBoxes, paintMorphViewPanel, processMouseDragged, processMousePressed, processMouseReleased, propertyChange, removePropertyChangeListener, setAutoScale, setBoxedMorphCollection, setName, setSelectedBoxedMorph, setShowBoundingBoxes, setSpecial, toString
public SwingMorphViewPanel(MorphView morphView, BoxedMorphCollection page)
public java.lang.Object getComponent()
getComponent
in interface net.richarddawkins.watchmaker.component.WatchComponent
public void loseFocus()
loseFocus
in interface MorphViewPanel
loseFocus
in class SimpleMorphViewPanel
public void gainFocus()
gainFocus
in interface MorphViewPanel
gainFocus
in class SimpleMorphViewPanel
public void setLayout(java.lang.Object mgr)
setLayout
in interface net.richarddawkins.watchmaker.component.WatchComponent
public void setBorder(java.lang.Object border)
setBorder
in interface net.richarddawkins.watchmaker.component.WatchComponent
public void setOpaque(boolean isOpaque)
setOpaque
in interface net.richarddawkins.watchmaker.component.WatchComponent
public void add(java.lang.Object newComponent)
add
in interface net.richarddawkins.watchmaker.component.WatchContainer
public void add(java.lang.Object newComponent, java.lang.Object constraints)
add
in interface net.richarddawkins.watchmaker.component.WatchContainer
public void removeAll()
removeAll
in interface net.richarddawkins.watchmaker.component.WatchContainer
public java.lang.Object getCursor()
getCursor
in interface MorphViewPanel
public static java.awt.image.BufferedImage toBufferedImage(java.lang.Object image)
image
- The Image to be convertedpublic void initPanel()
initPanel
in interface MorphViewPanel
public Dim getDim()
getDim
in interface MorphViewPanel
public java.lang.Object getPanel()
getPanel
in interface MorphViewPanel
public void processMouseClicked(Point myPt, Dim Size)
processMouseClicked
in interface MorphViewPanel
processMouseClicked
in class SimpleMorphViewPanel
public void processMouseMotion(Point myPt, Dim size)
processMouseMotion
in interface MorphViewPanel
public void repaint()
repaint
in interface net.richarddawkins.watchmaker.component.WatchComponent
repaint
in interface MorphViewPanel
public void setCursor(java.lang.Object cursor)
setCursor
in interface MorphViewPanel
public void updateCursor()
updateCursor
in interface MorphViewPanel