| java.lang.Object abbot.editor.recorder.SemanticRecorder abbot.editor.recorder.ComponentRecorder abbot.editor.recorder.ChoiceRecorder
ChoiceRecorder | public class ChoiceRecorder extends ComponentRecorder (Code) | | Record basic semantic events you might find on an Choice component.
|
Method Summary | |
protected Step | createSelection(Choice target, String selection) | protected Step | createStep() | protected void | init(int recordingType) | protected boolean | isClick(AWTEvent e) Also accept ItemEvents, since the ChoiceTester will not generate any
explicit clicks to control the component. | protected boolean | parseClick(AWTEvent event) Track click -> select ->click, cancelable by ESC or by clicking away
from the component.
NOTE: press->drag->release produces an identical set of events
OSX 1.3.1:
MOUSE_PRESSED
(ITEM_STATE_CHANGED)|MOUSE_RELEASED|KEY_RELEASED
The ItemEvent never makes it to the AWT listener. |
init | protected void init(int recordingType)(Code) | | |
isClick | protected boolean isClick(AWTEvent e)(Code) | | Also accept ItemEvents, since the ChoiceTester will not generate any
explicit clicks to control the component.
|
parseClick | protected boolean parseClick(AWTEvent event)(Code) | | Track click -> select ->click, cancelable by ESC or by clicking away
from the component.
NOTE: press->drag->release produces an identical set of events
OSX 1.3.1:
MOUSE_PRESSED
(ITEM_STATE_CHANGED)|MOUSE_RELEASED|KEY_RELEASED
The ItemEvent never makes it to the AWT listener.
|
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)
|
|
|