examples.gp.monalisa.gui
Class GeneticDrawingView
java.lang.Object
org.jdesktop.application.AbstractBean
org.jdesktop.application.View
org.jdesktop.application.FrameView
examples.gp.monalisa.gui.GeneticDrawingView
public class GeneticDrawingView
- extends org.jdesktop.application.FrameView
The application's main frame.
- Since:
- 3.4
Constructor Summary |
GeneticDrawingView(org.jdesktop.application.SingleFrameApplication app)
|
Methods inherited from class org.jdesktop.application.FrameView |
getFrame, getRootPane, setFrame |
Methods inherited from class org.jdesktop.application.View |
getApplication, getComponent, getContext, getMenuBar, getResourceMap, getStatusBar, getToolBar, getToolBars, setComponent, setMenuBar, setStatusBar, setToolBar, setToolBars |
Methods inherited from class org.jdesktop.application.AbstractBean |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneticDrawingView
public GeneticDrawingView(org.jdesktop.application.SingleFrameApplication app)
showAboutBox
@Action
public void showAboutBox()
chooseImage
@Action
public void chooseImage()
throws java.io.IOException
- Throws:
java.io.IOException
startEvolution
@Action
public void startEvolution()
scaleToImageLabel
public javax.swing.ImageIcon scaleToImageLabel(java.awt.Image image)
- Scale an image to fit the size of the targetImageLabel.
getTargetImage
public java.awt.image.BufferedImage getTargetImage()
isEvolutionActivated
public boolean isEvolutionActivated()
isSaveToFile
public boolean isSaveToFile()
getFittestDrawingView
public FittestDrawingView getFittestDrawingView()
getChart
public JFreeChart getChart()