|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Frame | +--javax.swing.JFrame | +--org.apache.jmeter.JMeter
This is Apache JMeter main class that implements both drawing and action listening.
Inner classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
(package private) javax.swing.JDialog |
about
|
(package private) java.util.Hashtable |
alias
|
(package private) javax.swing.JCheckBox |
aliasCheck
|
(package private) javax.swing.JButton |
clear
|
(package private) javax.swing.JButton |
cookieButton
|
(package private) javax.swing.JCheckBox |
cookieCheck
|
(package private) java.lang.String |
cookieFile
|
(package private) javax.swing.JComboBox |
cookieList
|
(package private) javax.swing.ImageIcon |
disabled
|
(package private) javax.swing.JCheckBox |
encodeCheck
|
(package private) javax.swing.JFileChooser |
fileChooser
|
(package private) javax.swing.ImageIcon |
idle
|
static java.lang.String |
IMAGES
|
(package private) int |
maxSamplers
|
(package private) java.util.Properties |
properties
|
static java.lang.String |
PROPERTIES
|
(package private) java.lang.String |
query
|
(package private) javax.swing.JCheckBox |
queryCheck
|
(package private) javax.swing.JComboBox |
queryList
|
(package private) java.util.Vector |
sampler
|
(package private) int |
samplers
|
(package private) javax.swing.JSlider |
slider
|
(package private) javax.swing.JButton |
start
|
(package private) javax.swing.JButton |
stop
|
(package private) java.lang.String |
threadImage
|
(package private) Timer |
timer
|
(package private) javax.swing.JComboBox |
timerList
|
(package private) javax.swing.JPanel |
timers
|
static java.lang.String |
URL_SEPARATOR
|
(package private) javax.swing.JComboBox |
urlList
|
(package private) java.util.Vector |
urls
|
static java.lang.String |
VERSION
|
(package private) Visualizer |
visualizer
|
(package private) javax.swing.JComboBox |
visualizerList
|
(package private) javax.swing.JPanel |
visualizers
|
Fields inherited from class javax.swing.JFrame |
accessibleContext,
defaultCloseOperation,
rootPane,
rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
base,
CROSSHAIR_CURSOR,
DEFAULT_CURSOR,
E_RESIZE_CURSOR,
frameSerializedDataVersion,
HAND_CURSOR,
icon,
ICONIFIED,
mbManagement,
menuBar,
MOVE_CURSOR,
N_RESIZE_CURSOR,
nameCounter,
NE_RESIZE_CURSOR,
NORMAL,
NW_RESIZE_CURSOR,
ownedWindows,
resizable,
S_RESIZE_CURSOR,
SE_RESIZE_CURSOR,
serialVersionUID,
state,
SW_RESIZE_CURSOR,
TEXT_CURSOR,
title,
W_RESIZE_CURSOR,
WAIT_CURSOR,
weakThis |
Fields inherited from class java.awt.Window |
active,
base,
focusMgr,
inputContext,
nameCounter,
OPENED,
ownedWindowList,
serialVersionUID,
state,
warningString,
weakThis,
windowListener,
windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component,
containerListener,
containerSerializedDataVersion,
dispatcher,
layoutMgr,
maxSize,
ncomponents,
serialVersionUID |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
assert,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
changeSupport,
componentListener,
componentListenerK,
componentOrientation,
componentSerializedDataVersion,
containerListenerK,
cursor,
dropTarget,
enabled,
eventMask,
focusListener,
focusListenerK,
font,
foreground,
hasFocus,
height,
incRate,
inputMethodListener,
inputMethodListenerK,
isInc,
isPacked,
itemListenerK,
keyListener,
keyListenerK,
LEFT_ALIGNMENT,
locale,
LOCK,
minSize,
mouseListener,
mouseListenerK,
mouseMotionListener,
mouseMotionListenerK,
name,
nameExplicitlySet,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
serialVersionUID,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Constructor Summary | |
(package private) |
JMeter(java.lang.String file)
|
Method Summary | |
(package private) void |
about()
Called by about button. |
void |
actionPerformed(java.awt.event.ActionEvent e)
Action listener that handles all GUI events in this class. |
(package private) void |
draw()
Draw the whole thing. |
static void |
error(java.lang.Exception e,
java.awt.Component thrower)
Method used to signal an Exception to the user. |
static void |
fail(java.lang.String message)
Method used to fail the application if a fatal error is found. |
(package private) java.lang.String |
getCookies()
Get the cookie file |
(package private) java.lang.String |
getQuery()
Get the query string |
(package private) java.util.Vector |
getURLs()
Get the vector of valid URL objects |
(package private) void |
init(java.lang.String file)
This method is used by the constructor to load the property file that may even reside in the user space, or in the classpath under org.apache.jmeter.jmeter.properties |
static void |
main(java.lang.String[] arguments)
Main method that chooses L&F and created the JMeter object. |
(package private) void |
start()
Called by start button. |
void |
stateChanged(javax.swing.event.ChangeEvent e)
Change listener that handles thread slider events. |
(package private) void |
stop()
Called by stop button. |
Methods inherited from class javax.swing.JFrame |
addImpl,
createRootPane,
createRootPaneException,
frameInit,
getAccessibleContext,
getContentPane,
getDefaultCloseOperation,
getGlassPane,
getJMenuBar,
getLayeredPane,
getRootPane,
isRootPaneCheckingEnabled,
paramString,
processKeyEvent,
processWindowEvent,
setContentPane,
setDefaultCloseOperation,
setGlassPane,
setJMenuBar,
setLayeredPane,
setLayout,
setRootPane,
setRootPaneCheckingEnabled,
update |
Methods inherited from class java.awt.Frame |
|
Methods inherited from class java.awt.Window |
addOwnedWindow,
addWindowListener,
applyResourceBundle,
applyResourceBundle,
connectOwnedWindow,
dispatchEventImpl,
dispose,
eventEnabled,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
isActive,
isShowing,
nextFocus,
ownedInit,
pack,
postEvent,
postWindowEvent,
preProcessKeyEvent,
processEvent,
removeOwnedWindow,
removeWindowListener,
setFocusOwner,
setWarningString,
show,
toBack,
toFront,
transferFocus |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
applyOrientation,
countComponents,
deliverEvent,
dispatchEventToSelf,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents_NoClientCode,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getMouseEventTarget,
getPreferredSize,
getWindow,
insets,
invalidate,
invalidateTree,
isAncestorOf,
layout,
lightweightPrint,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
postsOldMouseEvents,
preferredSize,
print,
printComponents,
printOneComponent,
processContainerEvent,
proxyEnableEvents,
proxyRequestFocus,
remove,
remove,
removeAll,
removeContainerListener,
setFont,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
areInputMethodsEnabled,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputMethodRequests,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getSize,
getToolkitImpl,
getTreeLock,
getWidth,
getWindowForObject,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isEnabledImpl,
isFocusTraversable,
isLightweight,
isOpaque,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processMouseEvent,
processMouseMotionEvent,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String VERSION
public static final java.lang.String PROPERTIES
public static final java.lang.String IMAGES
public static final java.lang.String URL_SEPARATOR
int samplers
int maxSamplers
java.util.Vector sampler
java.util.Hashtable alias
Visualizer visualizer
java.util.Properties properties
Timer timer
java.lang.String threadImage
java.lang.String query
java.lang.String cookieFile
java.util.Vector urls
javax.swing.JButton start
javax.swing.JButton stop
javax.swing.JButton clear
javax.swing.JButton cookieButton
javax.swing.JSlider slider
javax.swing.JCheckBox queryCheck
javax.swing.JCheckBox encodeCheck
javax.swing.JCheckBox aliasCheck
javax.swing.JCheckBox cookieCheck
javax.swing.JComboBox urlList
javax.swing.JComboBox queryList
javax.swing.JComboBox cookieList
javax.swing.JComboBox timerList
javax.swing.JComboBox visualizerList
javax.swing.JFileChooser fileChooser
javax.swing.JDialog about
javax.swing.JPanel timers
javax.swing.JPanel visualizers
javax.swing.ImageIcon disabled
javax.swing.ImageIcon idle
Constructor Detail |
JMeter(java.lang.String file)
Method Detail |
void init(java.lang.String file)
void draw()
public void actionPerformed(java.awt.event.ActionEvent e)
public void stateChanged(javax.swing.event.ChangeEvent e)
java.lang.String getCookies()
java.lang.String getQuery()
java.util.Vector getURLs()
void start()
void stop()
void about()
public static void main(java.lang.String[] arguments)
public static void error(java.lang.Exception e, java.awt.Component thrower)
public static void fail(java.lang.String message)
|
Copyright (c) 1998-99 The Java Apache Project | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |