|
Apache JMeter | ||||||||
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
public class GraphAccum
Draws the graph. Created 2001/08/11
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
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 |
clearData()
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 static final int 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)
paintComponent
in class JComponent
public void clearData()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |