|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
javax.swing.JApplet
org.vizzini.ui.AbstractApp
org.vizzini.example.ant.ui.AntUI
public class AntUI
Provides a user interface for the artificial ant problem.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JApplet |
---|
JApplet.AccessibleJApplet |
Nested classes/interfaces inherited from class java.applet.Applet |
---|
Applet.AccessibleApplet |
Nested classes/interfaces inherited from class java.awt.Panel |
---|
Panel.AccessibleAWTPanel |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JApplet |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
AntUI()
Construct this object. |
Method Summary | |
---|---|
protected StatusBar |
createStatusBar()
Create the status bar. |
protected void |
evaluate(IChromosomeGP chromosome,
boolean isPrinting)
Evaluate the fitness of the given chromosome for this problem. |
protected void |
fillMenuBar()
Create the menu bar. |
protected void |
fillToolBar()
Fill the tool bar. |
protected Action |
getResetAction()
Return the reset action. |
protected Action |
getResumeAction()
Return the pause action. |
protected Action |
getStepAction()
Return the step action. |
void |
init()
Initialize this applet. |
static void |
main(String[] args)
Application method. |
void |
resetActionPerformed(ActionEvent event)
Perform the reset action. |
void |
resumeActionPerformed(ActionEvent event)
Perform the resume action. |
void |
stepActionPerformed(ActionEvent event)
Perform the step action. |
Methods inherited from class org.vizzini.ui.AbstractApp |
---|
aboutActionPerformed, checkActions, cleanup, doMain, getAppName, getFrame, getInitialDimension, getMenuBar, getMenuBarContainer, macOSXRegistration, onlineHelpActionPerformed, preferencesActionPerformed, quitActionPerformed, setCursorBusy, usePreferencesMenu, useSplashScreen |
Methods inherited from class javax.swing.JApplet |
---|
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.applet.Applet |
---|
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel |
---|
addNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AntUI()
Method Detail |
---|
public static void main(String[] args)
public void init()
init
in class AbstractApp
public void resetActionPerformed(ActionEvent event)
public void resumeActionPerformed(ActionEvent event)
public void stepActionPerformed(ActionEvent event)
protected StatusBar createStatusBar()
protected void evaluate(IChromosomeGP chromosome, boolean isPrinting)
chromosome
- Chromosome.protected void fillMenuBar()
protected void fillToolBar()
protected Action getResetAction()
protected Action getResumeAction()
protected Action getStepAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |