|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
org.apache.jmeter.visualizers.GraphAccum
Draws the graph.
Nested Class Summary |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
protected GraphAccumModel |
model
|
protected boolean |
noLegendYet
Ensure that the legends are only drawn once. |
protected static int |
PLOT_X_WIDTH
|
protected Point[] |
previousPts
Keep track of previous point. |
protected boolean |
previousPtsAlloc
Ensure that previousPts is allocated once only. |
protected GraphAccumVisualizer |
visualizer
|
protected static int |
width
|
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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
GraphAccum()
Constructor. |
|
GraphAccum(GraphAccumModel model)
Constructor with model set. |
Method Summary | |
void |
clear()
Clears this graph. |
boolean |
getNoLegendYet()
The legend is only printed once during sampling. |
Dimension |
getPreferredScrollableViewportSize()
Gets the PreferredScrollableViewportSize attribute of the Graph object. |
int |
getScrollableBlockIncrement(Rectangle visibleRect,
int orientation,
int direction)
Gets the ScrollableBlockIncrement attribute of the Graph object. |
boolean |
getScrollableTracksViewportHeight()
Gets the ScrollableTracksViewportHeight attribute of the Graph object. |
boolean |
getScrollableTracksViewportWidth()
Gets the ScrollableTracksViewportWidth attribute of the Graph object. |
int |
getScrollableUnitIncrement(Rectangle visibleRect,
int orientation,
int direction)
Gets the ScrollableUnitIncrement attribute of the Graph object. |
void |
paintComponent(Graphics g)
|
void |
setNoLegendYet(boolean value)
The legend is only printed once during sampling. |
void |
setVisualizer(Object visualizer)
Set the visualizer. |
void |
updateGui()
Redraws the gui. |
void |
updateGui(SampleResult oneSample)
Redraws the gui if no rescaling of the graph is needed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected GraphAccumModel model
protected GraphAccumVisualizer visualizer
protected boolean noLegendYet
protected Point[] previousPts
protected boolean previousPtsAlloc
protected static final int width
protected static final int PLOT_X_WIDTH
Constructor Detail |
public GraphAccum()
public GraphAccum(GraphAccumModel model)
model
- model which this object representsMethod Detail |
public void setVisualizer(Object visualizer)
visualizer
- visualizer of this objectpublic void setNoLegendYet(boolean value)
value
- variable that indicates whether the legend has been
printed yetpublic Dimension getPreferredScrollableViewportSize()
getPreferredScrollableViewportSize
in interface Scrollable
public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
getScrollableUnitIncrement
in interface Scrollable
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
getScrollableBlockIncrement
in interface Scrollable
public boolean getScrollableTracksViewportWidth()
getScrollableTracksViewportWidth
in interface Scrollable
public boolean getScrollableTracksViewportHeight()
getScrollableTracksViewportHeight
in interface Scrollable
public boolean getNoLegendYet()
public void updateGui()
updateGui
in interface GraphAccumListener
public void updateGui(SampleResult oneSample)
updateGui
in interface GraphAccumListener
oneSample
- sample to be addedpublic void paintComponent(Graphics g)
public void clear()
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |