Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

abbot.editor.recorder
Class JListRecorder  view JListRecorder download JListRecorder.java

java.lang.Object
  extended byabbot.editor.recorder.SemanticRecorder
      extended byabbot.editor.recorder.ComponentRecorder
          extended byabbot.editor.recorder.ContainerRecorder
              extended byabbot.editor.recorder.JComponentRecorder
                  extended byabbot.editor.recorder.JListRecorder
All Implemented Interfaces:
SemanticEvents

public class JListRecorder
extends JComponentRecorder

Record basic semantic events you might find on an JList.


Field Summary
private  javax.swing.JList target
           
 
Fields inherited from class abbot.editor.recorder.JComponentRecorder
SE_ACTION_MAP
 
Fields inherited from class abbot.editor.recorder.ComponentRecorder
 
Fields inherited from class abbot.editor.recorder.SemanticRecorder
events
 
Fields inherited from interface abbot.editor.recorder.SemanticEvents
SE_ANY, SE_CLICK, SE_DRAG, SE_DROP, SE_IM, SE_KEY, SE_MENU, SE_NONE, SE_TEXT, SE_WINDOW
 
Constructor Summary
JListRecorder(abbot.Resolver resolver)
           
 
Method Summary
protected  abbot.script.Step createClick(java.awt.Component target, int x, int y, int mods, int count)
          Create a click referencing the String value that was clicked.
private  java.lang.String getValueAsString(javax.swing.JList list, int index)
           
 
Methods inherited from class abbot.editor.recorder.JComponentRecorder
accept, createActionMap, createStep, getAction, init, isMappedEvent, parse, parseActionMapEvent
 
Methods inherited from class abbot.editor.recorder.ComponentRecorder
canDrag, canMultipleClick, createActivate, createAWTMenuSelection, createDrag, createDrop, createInputMethod, createKey, createMenuSelection, createPopupMenuSelection, createWindowEvent, dragStarted, isClick, isDrop, isKeyTyped, isMenuEvent, isWindowEvent, parseClick, parseDrop, parseInputMethod, parseKeyEvent, parseMenuSelection, parseWindowEvent
 
Methods inherited from class abbot.editor.recorder.SemanticRecorder
addActionListener, getFinder, getRecordingType, getResolver, getStep, isFinished, record, setFinished, setRecordingType, setStatus, setStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private javax.swing.JList target
Constructor Detail

JListRecorder

public JListRecorder(abbot.Resolver resolver)
Method Detail

getValueAsString

private java.lang.String getValueAsString(javax.swing.JList list,
                                          int index)

createClick

protected abbot.script.Step createClick(java.awt.Component target,
                                        int x,
                                        int y,
                                        int mods,
                                        int count)
Create a click referencing the String value that was clicked.

Overrides:
createClick in class ComponentRecorder