|
|||||||||
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) javax.swing.JButton |
clear
|
(package private) javax.swing.ImageIcon |
disabled
|
(package private) javax.swing.ImageIcon |
idle
|
static java.lang.String |
IMAGES
|
static int |
MAX_THREADS
|
(package private) java.util.Properties |
properties
|
static java.lang.String |
PROPERTIES
|
(package private) javax.swing.JCheckBox |
queryCheck
|
(package private) javax.swing.JTextField |
queryTextField
|
(package private) java.util.Vector |
sampler
|
(package private) int |
samplers
|
(package private) javax.swing.JSlider |
slider
|
(package private) javax.swing.JButton |
start
|
static int |
START_THREADS
|
(package private) javax.swing.JButton |
stop
|
(package private) Timer |
timer
|
(package private) javax.swing.JComboBox |
timerList
|
(package private) javax.swing.JPanel |
timers
|
(package private) javax.swing.JTextField |
urlTextField
|
static java.lang.String |
VERSION
|
(package private) Visualiser |
visualiser
|
(package private) javax.swing.JComboBox |
visualiserList
|
(package private) javax.swing.JPanel |
visualisers
|
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) javax.swing.JButton |
createButton(java.lang.String name)
Create the Netscape style button |
(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) javax.swing.ImageIcon |
getImage(java.lang.String name)
This looks for the requested image in the classpath under org.apache.jmeter.images. |
(package private) java.util.Properties |
getProperties(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 |
(package private) java.util.Vector |
getTimers()
Creates the vector of timer plugins. |
(package private) java.util.Vector |
getVisualisers()
Creates the vector of visualiser plugins. |
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 int MAX_THREADS
public static final int START_THREADS
int samplers
java.util.Vector sampler
Visualiser visualiser
java.util.Properties properties
Timer timer
javax.swing.JButton start
javax.swing.JButton stop
javax.swing.JButton clear
javax.swing.JSlider slider
javax.swing.JTextField urlTextField
javax.swing.JTextField queryTextField
javax.swing.JCheckBox queryCheck
javax.swing.JComboBox timerList
javax.swing.JComboBox visualiserList
javax.swing.JDialog about
javax.swing.JPanel timers
javax.swing.JPanel visualisers
javax.swing.ImageIcon disabled
javax.swing.ImageIcon idle
Constructor Detail |
JMeter(java.lang.String file)
Method Detail |
java.util.Properties getProperties(java.lang.String file)
javax.swing.ImageIcon getImage(java.lang.String name)
java.util.Vector getTimers()
java.util.Vector getVisualisers()
javax.swing.JButton createButton(java.lang.String name)
void draw()
public void actionPerformed(java.awt.event.ActionEvent e)
public void stateChanged(javax.swing.event.ChangeEvent e)
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 The Java Apache Project | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |