com.eviware.soapui.impl.wsdl.panels.loadtest
Class WsdlLoadTestDesktopPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by com.eviware.soapui.ui.support.ModelItemDesktopPanel<WsdlLoadTest>
                      extended by com.eviware.soapui.impl.wsdl.panels.loadtest.WsdlLoadTestDesktopPanel
All Implemented Interfaces:
PropertyChangeNotifier, DesktopPanel, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

public class WsdlLoadTestDesktopPanel
extends ModelItemDesktopPanel<WsdlLoadTest>
implements java.beans.PropertyChangeListener

Desktop panel for LoadTests

Author:
Ole.Matzura
See Also:
Serialized Form

Nested Class Summary
 class WsdlLoadTestDesktopPanel.CancelRunTestCaseAction
           
 class WsdlLoadTestDesktopPanel.ResetAction
           
 class WsdlLoadTestDesktopPanel.RunLoadTestAction
           
 class WsdlLoadTestDesktopPanel.ShowStatisticsGraphAction
           
 class WsdlLoadTestDesktopPanel.ShowTestTimesGraphAction
           
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  javax.swing.JButton cancelButton
           
protected  javax.swing.JButton exportButton
           
protected  javax.swing.JPanel loadStrategyConfigurationPanel
           
 boolean loadTestIsRunning
           
protected  javax.swing.JButton optionsButton
           
protected  javax.swing.JProgressBar progressBar
           
protected  javax.swing.JButton resetButton
           
protected  javax.swing.JButton runButton
           
protected  javax.swing.JButton statisticsGraphButton
           
protected  javax.swing.JComboBox strategyCombo
           
protected  javax.swing.JButton testTimesGraphButton
           
protected  javax.swing.JSpinner threadsSpinner
           
 
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.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.eviware.soapui.ui.desktop.DesktopPanel
ICON_PROPERTY, TITLE_PROPERTY
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
WsdlLoadTestDesktopPanel(WsdlLoadTest loadTest)
           
 
Method Summary
protected  void addInspectors(JInspectorPanel inspectorPanel)
           
protected  javax.swing.JComponent buildAssertions()
           
 void buildLimitBar(JXToolBar toolbar)
           
protected  javax.swing.JComponent buildLog()
           
protected  GroovyEditorComponent buildSetupScriptPanel()
           
protected  javax.swing.JComponent buildStatistics()
           
protected  GroovyEditorComponent buildTearDownScriptPanel()
           
protected  javax.swing.JComponent buildToolbar()
           
 boolean dependsOn(ModelItem modelItem)
          Checks if this desktop panel depends on the existence of the specified model item, used for closing relevant panels.
 javax.swing.JComponent getComponent()
          Gets the component used to display this desktop panel
 boolean onClose(boolean canCancel)
          Called when a desktop panel is about to be closed, may be overriden (depending on situation) by returning false if canCancel is set to true.
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void setLoadStrategy(java.lang.String type)
           
 
Methods inherited from class com.eviware.soapui.ui.support.ModelItemDesktopPanel
createActionButton, getDescription, getIcon, getModelItem, getTitle, notifyPropertyChange, release
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getWidth, getVisibleRect, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.eviware.soapui.support.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

runButton

protected javax.swing.JButton runButton

cancelButton

protected javax.swing.JButton cancelButton

statisticsGraphButton

protected javax.swing.JButton statisticsGraphButton

threadsSpinner

protected javax.swing.JSpinner threadsSpinner

strategyCombo

protected javax.swing.JComboBox strategyCombo

loadStrategyConfigurationPanel

protected javax.swing.JPanel loadStrategyConfigurationPanel

resetButton

protected javax.swing.JButton resetButton

optionsButton

protected javax.swing.JButton optionsButton

testTimesGraphButton

protected javax.swing.JButton testTimesGraphButton

progressBar

protected javax.swing.JProgressBar progressBar

loadTestIsRunning

public boolean loadTestIsRunning

exportButton

protected javax.swing.JButton exportButton
Constructor Detail

WsdlLoadTestDesktopPanel

public WsdlLoadTestDesktopPanel(WsdlLoadTest loadTest)
Method Detail

addInspectors

protected void addInspectors(JInspectorPanel inspectorPanel)

buildTearDownScriptPanel

protected GroovyEditorComponent buildTearDownScriptPanel()

buildSetupScriptPanel

protected GroovyEditorComponent buildSetupScriptPanel()

buildStatistics

protected javax.swing.JComponent buildStatistics()

buildLog

protected javax.swing.JComponent buildLog()

buildAssertions

protected javax.swing.JComponent buildAssertions()

buildToolbar

protected javax.swing.JComponent buildToolbar()

buildLimitBar

public void buildLimitBar(JXToolBar toolbar)

onClose

public boolean onClose(boolean canCancel)
Description copied from interface: DesktopPanel
Called when a desktop panel is about to be closed, may be overriden (depending on situation) by returning false if canCancel is set to true.

Specified by:
onClose in interface DesktopPanel

getComponent

public javax.swing.JComponent getComponent()
Description copied from interface: DesktopPanel
Gets the component used to display this desktop panel

Specified by:
getComponent in interface DesktopPanel
Overrides:
getComponent in class ModelItemDesktopPanel<WsdlLoadTest>

dependsOn

public boolean dependsOn(ModelItem modelItem)
Description copied from interface: DesktopPanel
Checks if this desktop panel depends on the existence of the specified model item, used for closing relevant panels.

Specified by:
dependsOn in interface DesktopPanel
Specified by:
dependsOn in class ModelItemDesktopPanel<WsdlLoadTest>

setLoadStrategy

public void setLoadStrategy(java.lang.String type)

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Overrides:
propertyChange in class ModelItemDesktopPanel<WsdlLoadTest>


Copyright © 2005-2009 eviware.com. All Rights Reserved.