public class ScriptEditorFrame extends javax.swing.JFrame implements EditorConstants, Version
javax.swing.JFrame.AccessibleJFrame
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
firstShow
Save size and position information before hiding.
|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ACTION_CAPTURE, ACTION_CAPTURE_ALL, ACTION_CAPTURE_COMPONENT, ACTION_CAPTURE_FOCUSED_COMPONENT, ACTION_CAPTURE_IMAGE, ACTION_DYNAMIC, ACTION_EDITOR_ABOUT, ACTION_EDITOR_BUGREPORT, ACTION_EDITOR_EMAIL, ACTION_EDITOR_QUIT, ACTION_EDITOR_USERGUIDE, ACTION_EDITOR_WEBSITE, ACTION_EXPORT_HIERARCHY, ACTION_GET_VMARGS, ACTION_INSERT_ANNOTATION, ACTION_INSERT_APPLET, ACTION_INSERT_CALL, ACTION_INSERT_COMMENT, ACTION_INSERT_EXPRESSION, ACTION_INSERT_FIXTURE, ACTION_INSERT_LAUNCH, ACTION_INSERT_SAMPLE, ACTION_INSERT_SCRIPT, ACTION_INSERT_SEQUENCE, ACTION_INSERT_TERMINATE, ACTION_PREFIX, ACTION_RUN, ACTION_RUN_LAUNCH, ACTION_RUN_SELECTED, ACTION_RUN_TERMINATE, ACTION_RUN_TO, ACTION_SCRIPT_CLEAR, ACTION_SCRIPT_CLOSE, ACTION_SCRIPT_DELETE, ACTION_SCRIPT_DUPLICATE, ACTION_SCRIPT_NEW, ACTION_SCRIPT_OPEN, ACTION_SCRIPT_RENAME, ACTION_SCRIPT_SAVE, ACTION_SCRIPT_SAVE_AS, ACTION_SELECT_COMPONENT, ACTION_SELECT_FOCUSED_COMPONENT, ACTION_SELECT_TESTSUITE, ACTION_STEP_COPY, ACTION_STEP_CUT, ACTION_STEP_DELETE, ACTION_STEP_GROUP, ACTION_STEP_MOVE_DOWN, ACTION_STEP_MOVE_UP, ACTION_STEP_PASTE, ACTION_TOGGLE_AWT_MODE, ACTION_TOGGLE_FORKED, ACTION_TOGGLE_SLOW_PLAYBACK, ACTION_TOGGLE_STOP_ON_ERROR, ACTION_TOGGLE_STOP_ON_FAILURE, MENU_CAPTURE, MENU_EDIT, MENU_FILE, MENU_HELP, MENU_INSERT, MENU_TEST
Constructor and Description |
---|
ScriptEditorFrame(java.lang.String[][] menus,
javax.swing.ActionMap actionMap,
java.awt.event.ActionListener listener,
java.lang.String title,
ScriptTable scriptTable,
Preferences preferences)
Constructs a ScriptEditorFrame with a title and a scriptable
|
Modifier and Type | Method and Description |
---|---|
ComponentBrowser |
getComponentBrowser()
Returns the componentBrowser.
|
javax.swing.JLabel |
getCurrentTestSuiteLabel()
Returns the testSuiteDescription.
|
javax.swing.JPanel |
getEditor() |
java.awt.Dimension |
getPreferredSize() |
ScriptTable |
getScriptTable()
Returns the scriptTable.
|
java.lang.String |
getStatus() |
javax.swing.JTextField |
getTestScriptDescription()
Returns the testScriptDescription.
|
javax.swing.JComboBox |
getTestScriptSelector()
Returns the testScriptSelector.
|
void |
hide()
Deprecated.
|
void |
populateAssertMenu(java.util.ArrayList actions)
Fill the menu with available assertXXX methods for the given class.
|
void |
populateCaptureMenu(java.util.ArrayList actions)
Create the list of recordable GUI actions.
|
void |
populateInsertMenu(java.util.ArrayList actions)
Fill the menu with available actionXXX methods for the given class.
|
void |
populateWaitMenu(java.util.ArrayList actions)
Same as populateAssertMenu, but makes them waits instead.
|
void |
setAssertOptions(boolean wait,
boolean invert) |
void |
setComponentBrowser(ComponentBrowser componentBrowser)
Sets the componentBrowser.
|
void |
setEditor(javax.swing.JPanel editor) |
void |
setStatus(java.lang.String msg,
java.lang.String extended,
java.awt.Color color)
Set the text for the status window.
|
void |
show()
Deprecated.
|
void |
showAboutBox() |
int |
showConfirmation(java.lang.String msg)
Display a confirmation dialog.
|
int |
showConfirmation(java.lang.String msg,
int opts)
Display a confirmation dialog.
|
void |
showError(java.lang.String msg)
Global facility for error dialogs.
|
void |
showError(java.lang.String title,
java.lang.String msg)
Global facility for error dialogs.
|
java.lang.String |
showInputDialog(java.lang.String title,
java.lang.String msg,
java.lang.String initial)
Global facility for obtaining a user input String.
|
void |
showMessage(java.lang.String title,
java.lang.String msg)
Global facility for message dialogs.
|
void |
showWarning(java.lang.String msg)
Global facility for warning dialog.
|
void |
showWarning(java.lang.String title,
java.lang.String msg)
Global facility for warning dialog.
|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, toBack, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public ScriptEditorFrame(java.lang.String[][] menus, javax.swing.ActionMap actionMap, java.awt.event.ActionListener listener, java.lang.String title, ScriptTable scriptTable, Preferences preferences)
public ComponentBrowser getComponentBrowser()
public void setComponentBrowser(ComponentBrowser componentBrowser)
componentBrowser
- The componentBrowser to setpublic ScriptTable getScriptTable()
public java.lang.String getStatus()
public void show()
show
in class java.awt.Window
public void hide()
hide
in class java.awt.Window
public void setStatus(java.lang.String msg, java.lang.String extended, java.awt.Color color)
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class java.awt.Container
public javax.swing.JLabel getCurrentTestSuiteLabel()
public javax.swing.JComboBox getTestScriptSelector()
public javax.swing.JTextField getTestScriptDescription()
public void showAboutBox()
public void setAssertOptions(boolean wait, boolean invert)
public void populateInsertMenu(java.util.ArrayList actions)
public void populateAssertMenu(java.util.ArrayList actions)
public void populateWaitMenu(java.util.ArrayList actions)
public void populateCaptureMenu(java.util.ArrayList actions)
public javax.swing.JPanel getEditor()
public void setEditor(javax.swing.JPanel editor)
public int showConfirmation(java.lang.String msg)
public int showConfirmation(java.lang.String msg, int opts)
public java.lang.String showInputDialog(java.lang.String title, java.lang.String msg, java.lang.String initial)
public void showMessage(java.lang.String title, java.lang.String msg)
public void showWarning(java.lang.String msg)
public void showWarning(java.lang.String title, java.lang.String msg)
public void showError(java.lang.String msg)
public void showError(java.lang.String title, java.lang.String msg)
Abbot is hosted on