| java.lang.Object abbot.editor.recorder.SemanticRecorder abbot.editor.recorder.ComponentRecorder abbot.editor.recorder.ContainerRecorder abbot.editor.recorder.WindowRecorder abbot.editor.recorder.DialogRecorder abbot.editor.recorder.FileDialogRecorder
FileDialogRecorder | public class FileDialogRecorder extends DialogRecorder (Code) | | Recorder for the java.awt.FileDialog. Since this is a native component and
no java events are generated other than window open/close, the only things
to take note of are the following:
- Changes to the directory
- Changes to the file
- Whether the user hits OK or Cancel
author: Vrata Venet, European Space Agency, Madrid-Spain (av@iso.vilspa.esa.es) |
Constructor Summary | |
public | FileDialogRecorder(Resolver resolver) Create a FileDialogRecorder for use in capturing the semantics of a GUI
action. |
FileDialogRecorder | public FileDialogRecorder(Resolver resolver)(Code) | | Create a FileDialogRecorder for use in capturing the semantics of a GUI
action.
|
createFileDialogEvents | protected Step createFileDialogEvents(FileDialog d, String oldDir, String oldFile)(Code) | | Create one or more steps corresponding to what was done to the file
dialog. If the directory is non-null, the directory was changed. If
the file is non-null, the file was accepted.
|
init | protected void init(int type)(Code) | | |
parseWindowEvent | protected boolean parseWindowEvent(AWTEvent event)(Code) | | Override the default window parsing to consume everything between
dialog open and close.
|
Methods inherited from abbot.editor.recorder.ComponentRecorder | public boolean accept(AWTEvent event)(Code)(Java Doc) protected boolean canDrag()(Code)(Java Doc) protected boolean canMultipleClick()(Code)(Java Doc) protected Step createAWTMenuSelection(Component parent, MenuItem menuItem, boolean isPopup)(Code)(Java Doc) protected Step createClick(Component target, int x, int y, int mods, int count)(Code)(Java Doc) protected Step createDrag(Component comp, int x, int y)(Code)(Java Doc) protected Step createDrop(Component comp, int x, int y)(Code)(Java Doc) protected Step createInputMethod(Component comp, ArrayList codes, String text)(Code)(Java Doc) protected Step createKey(Component comp, char keychar, int mods)(Code)(Java Doc) protected Step createMenuSelection(Component menuItem)(Code)(Java Doc) protected Step createPopupMenuSelection(Component invoker, int x, int y, Component menuItem)(Code)(Java Doc) protected Step createStep()(Code)(Java Doc) protected Step createWindowEvent(Window window, boolean isClose)(Code)(Java Doc) protected boolean dragStarted(Component target, int x, int y, int modifiers, MouseEvent dragEvent)(Code)(Java Doc) protected ComponentLocation getLocation(Component c, int x, int y)(Code)(Java Doc) protected String getLocationArgument(Component c, int x, int y)(Code)(Java Doc) protected void init(int recordingType)(Code)(Java Doc) protected boolean isClick(AWTEvent event)(Code)(Java Doc) protected boolean isClose(AWTEvent event)(Code)(Java Doc) protected boolean isDragDrop(AWTEvent event)(Code)(Java Doc) protected boolean isKeyTyped(AWTEvent event)(Code)(Java Doc) protected boolean isMenuEvent(AWTEvent event)(Code)(Java Doc) protected boolean isOpen(AWTEvent event)(Code)(Java Doc) protected boolean isToolTip(Object source)(Code)(Java Doc) protected boolean isWindowEvent(AWTEvent event)(Code)(Java Doc) public boolean parse(AWTEvent event)(Code)(Java Doc) protected boolean parseClick(AWTEvent event)(Code)(Java Doc) protected boolean parseDrop(AWTEvent event)(Code)(Java Doc) protected boolean parseInputMethod(AWTEvent event)(Code)(Java Doc) protected boolean parseKeyEvent(AWTEvent e)(Code)(Java Doc) protected boolean parseMenuSelection(AWTEvent event)(Code)(Java Doc) protected boolean parseWindowEvent(AWTEvent event)(Code)(Java Doc) protected void setFinished(boolean state)(Code)(Java Doc)
|
|
|