|
|||||||||
| Home >> All >> abbot >> editor >> [ editors overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
abbot.editor.editors
Class CallEditor

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
abbot.editor.editors.StepEditor
abbot.editor.editors.CallEditor
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, abbot.editor.i18n.Resources, javax.swing.Scrollable, java.io.Serializable, abbot.editor.i18n.Strings
- Direct Known Subclasses:
- ActionEditor, AssertEditor, LaunchEditor
- public class CallEditor
- extends StepEditor
- implements abbot.editor.i18n.Strings, java.awt.event.ActionListener
- extends StepEditor
Provide an editor for call steps.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Nested classes inherited from class abbot.editor.i18n.Resources |
abbot.editor.i18n.Resources.ResourceLoader |
| Field Summary | |
private javax.swing.JTextField |
arguments
|
private abbot.script.Call |
call
|
private boolean |
ignoreCombo
|
private javax.swing.JComboBox |
method
|
private javax.swing.JTextField |
target
|
| Fields inherited from class abbot.editor.editors.StepEditor |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface abbot.editor.i18n.Strings |
FMT_AssertProperty, FMT_AssertPropertyTip, FMT_ComponentReference, FMT_ComponentReferenceX, FMT_Dialog, FMT_EditingScript, FMT_Error, FMT_Failure, FMT_FixtureDuplicated, FMT_InStep, FMT_RecorderCanceledX, FMT_Running, FMT_RunningStep, FMT_Saved, FMT_Saving, FMT_ScriptRename, FMT_ScriptSaved, FMT_Title, FMT_Tooltip, FMT_WaitProperty, FMT_Warning |
| Fields inherited from interface abbot.editor.i18n.Resources |
bundle, STRINGS_BUNDLE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
CallEditor(abbot.script.Call call)
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent ev)
This method is invoked when an action occurs. |
protected java.lang.String[] |
getMethodNames()
Provide a list of method names corresponding to the current target class. |
protected java.lang.String[] |
getMethodNames(java.lang.reflect.Method[] mlist)
Convert the given array of methods into an array of strings. |
protected java.lang.reflect.Method[] |
getMethods(java.lang.Class cls,
int mask)
Return all public member and static methods. |
protected java.lang.Class |
getTargetClass()
|
protected void |
stepChanged()
Indicate that the step data may have changed and that the editor should update itself. |
| Methods inherited from class abbot.editor.editors.StepEditor |
add, addCheckBox, addComboBox, addStepChangeListener, addTextField, fireStepChanged, getEditor, getMaximumSize, getMinimumSize, getPreferredScrollableViewportSize, getPreferredSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, remove, removeStepChangeListener, toString |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
call
private abbot.script.Call call
target
private javax.swing.JTextField target
ignoreCombo
private boolean ignoreCombo
method
private javax.swing.JComboBox method
arguments
private javax.swing.JTextField arguments
| Constructor Detail |
CallEditor
public CallEditor(abbot.script.Call call)
| Method Detail |
getMethodNames
protected java.lang.String[] getMethodNames()
- Provide a list of method names corresponding to the current target
class. Be careful overloading this method, since it is called from
the Constructor.
getTargetClass
protected java.lang.Class getTargetClass() throws abbot.script.InvalidScriptException
getMethods
protected java.lang.reflect.Method[] getMethods(java.lang.Class cls, int mask)
- Return all public member and static methods.
getMethodNames
protected java.lang.String[] getMethodNames(java.lang.reflect.Method[] mlist)
- Convert the given array of methods into an array of strings.
Subclasses can do additional filtering here.
stepChanged
protected void stepChanged()
- Description copied from class:
StepEditor - Indicate that the step data may have changed and that the editor should
update itself.
- Overrides:
stepChangedin classStepEditor
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Description copied from interface:
java.awt.event.ActionListener - This method is invoked when an action occurs.
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener- Overrides:
actionPerformedin classStepEditor
|
|||||||||
| Home >> All >> abbot >> editor >> [ editors overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC