Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
JPanel
adalogo.gui.editor.Editor
public class Editor
extends JPanel
Nested Class Summary |
Field Summary | |
Action[] |
Method Summary | |
void |
|
void |
|
void |
|
void | |
void | |
void | |
void | |
Action | |
Action | |
Action | |
Action[] | |
Action[] | |
Dimension | |
Action | |
Action | |
Action | |
Dimension | |
Action | |
Action | |
Action | |
Action | |
String |
|
Action | |
Action | |
void |
|
boolean |
|
void | |
void | |
void | |
void |
public void addCaretListener(CaretListener listener)
delegate method for external components to add caret listener. currently used by status bar.
public void addFileHandlerListener(FileHandler.FileHandlerListener listener)
delegate for external components to add file listener. currently used by visitor master to reset break points.
public void documentChanged(FileHandler.FileHandlerEvent e)
update title of window frame with currently loaded file name. will be called from document listener and from save load operations. see this like some sort of event listener.
- Specified by:
- documentChanged in interface FileHandler.FileHandlerListener
public void documentLoadFailed(FileHandler.FileHandlerEvent e)
- Specified by:
- documentLoadFailed in interface FileHandler.FileHandlerListener
public void documentLoaded(FileHandler.FileHandlerEvent e)
- Specified by:
- documentLoaded in interface FileHandler.FileHandlerListener
public void documentSaveFailed(FileHandler.FileHandlerEvent e)
- Specified by:
- documentSaveFailed in interface FileHandler.FileHandlerListener
public void documentSaved(FileHandler.FileHandlerEvent e)
- Specified by:
- documentSaved in interface FileHandler.FileHandlerListener
public Action getCommentAction()
public Action getCopyAction()
public Action getCutAction()
public Action[] getExampleActions()
public Action[] getFontSizeActions()
public Dimension getMinimumSize()
public Action getNewAction()
public Action getOpenAction()
public Action getPasteAction()
public Dimension getPreferredSize()
public Action getRedoAction()
public Action getRevertAction()
public Action getSaveAction()
public Action getSaveAsAction()
public String getText()
get text from editor. this is called when starting interpreter.
public Action getUncommentAction()
public Action getUndoAction()
public void init()
init. extended constructor. called by engine.
public boolean okToClose()
return true if it is ok to close. engine will ask this when it is about to close the window. this will delegate to save load handler.
public void visitorRunning(VisitorMaster.VisitorEvent e)
- Specified by:
- visitorRunning in interface VisitorMaster.VisitorListener
public void visitorStarted(VisitorMaster.VisitorEvent e)
- Specified by:
- visitorStarted in interface VisitorMaster.VisitorListener
public void visitorStopped(VisitorMaster.VisitorEvent e)
- Specified by:
- visitorStopped in interface VisitorMaster.VisitorListener
public void visitorWaiting(VisitorMaster.VisitorEvent e)
- Specified by:
- visitorWaiting in interface VisitorMaster.VisitorListener