|
Jedit 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Frame | +--javax.swing.JFrame | +--edu.bsu.cs.gui.JeditAlgorithms
A Frame that allows users to select an algorithm, whether or not to animate the algorithm, and whether or not to run the algorithm in a new window. Anyone wishing to getContentPane().add algorithms to Jedit should getContentPane().add their Algorithm subclass after the comment ADD ALGORITHMS HERE.
Frame
,
WindowListener
,
MouseListener
,
ActionListener
,
Runnable
,
Serialized FormNested Class Summary |
Nested classes inherited from class javax.swing.JFrame |
JFrame.AccessibleJFrame |
Nested classes inherited from class java.awt.Frame |
Frame.AccessibleAWTFrame |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
Vector |
algorithmVector
|
Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
JeditAlgorithms(JeditFrame newFrame)
This constructor instantiates JeditAlgorithms with the target JeditFrame newFrame. |
|
JeditAlgorithms(JeditFrame newFrame,
boolean visible)
|
Method Summary | |
void |
actionPerformed(ActionEvent e)
Called when the user clicks on one of the Frame's buttons. |
void |
mouseClicked(MouseEvent e)
Not implemented. |
void |
mouseEntered(MouseEvent e)
Activates. |
void |
mouseExited(MouseEvent e)
Not implemented. |
void |
mousePressed(MouseEvent e)
Not implemented. |
void |
mouseReleased(MouseEvent e)
Not implemented. |
void |
run()
Responsible for making the algorithm description match the algorithm that the user has selected. |
void |
windowActivated(WindowEvent e)
Not implemented. |
void |
windowClosed(WindowEvent e)
Not implemented. |
void |
windowClosing(WindowEvent e)
Disposes. |
void |
windowDeactivated(WindowEvent e)
Not implemented. |
void |
windowDeiconified(WindowEvent e)
Not implemented. |
void |
windowIconified(WindowEvent e)
Disposes if active. |
void |
windowOpened(WindowEvent e)
Not implemented. |
Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
public Vector algorithmVector
Constructor Detail |
public JeditAlgorithms(JeditFrame newFrame, boolean visible)
public JeditAlgorithms(JeditFrame newFrame)
newFrame
- The target frame.Method Detail |
public void run()
run
in interface Runnable
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
e
- The MouseEvent.public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void windowOpened(WindowEvent e)
windowOpened
in interface WindowListener
public void windowActivated(WindowEvent e)
windowActivated
in interface WindowListener
public void windowDeactivated(WindowEvent e)
windowDeactivated
in interface WindowListener
public void windowIconified(WindowEvent e)
windowIconified
in interface WindowListener
e
- The WindowEvent.public void windowDeiconified(WindowEvent e)
windowDeiconified
in interface WindowListener
public void windowClosing(WindowEvent e)
windowClosing
in interface WindowListener
e
- The WindowEvent.public void windowClosed(WindowEvent e)
windowClosed
in interface WindowListener
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- The ActionEvent.
|
Jedit 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |