|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--org.apache.jmeter.visualizers.GraphAccum
Draws the graph
Field Summary | |
protected GraphAccumModel |
model
Description of the Field |
protected boolean |
noLegendYet
Description of the Field |
protected static int |
PLOT_X_WIDTH
Description of the Field |
protected Point[] |
previousPts
Description of the Field |
protected boolean |
previousPtsAlloc
Description of the Field |
protected GraphAccumVisualizer |
visualizer
Description of the Field |
protected static int |
width
Description of the Field |
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)
Description of the Method |
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 int width
protected static final int PLOT_X_WIDTH
Constructor Detail |
public GraphAccum()
public GraphAccum(GraphAccumModel model)
model
- Description of ParameterMethod 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
visibleRect
- Description of Parameterorientation
- Description of Parameterdirection
- Description of Parameter
public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
getScrollableBlockIncrement
in interface Scrollable
visibleRect
- Description of Parameterorientation
- Description of Parameterdirection
- Description of Parameter
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
g
- Description of Parameterpublic void clear()
|
Apache JMeter 1.9 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |