Package org.apache.jmeter.gui.action
Class SaveGraphics
-
- All Implemented Interfaces:
-
org.apache.jmeter.gui.action.Command
@AutoService(value = Command.class) public class SaveGraphics extends AbstractAction
SaveGraphics action is meant to be a generic reusable Action. The class will use GUIPackage to get the current gui. Once it does, it checks to see if the element implements Printable interface. If it does, it call getPrintable() to get the JComponent. By default, it will use SaveGraphicsService to save a PNG file if no extension is provided. If either .png or .tif is in the filename, it will call SaveGraphicsService to save in the format.
-
-
Constructor Summary
Constructors Constructor Description SaveGraphics()
Constructor for the Save object.
-
Method Summary
Modifier and Type Method Description Set<String>
getActionNames()
Gets the ActionNames attribute of the Save object. void
doAction(ActionEvent e)
-
-
Method Detail
-
getActionNames
Set<String> getActionNames()
Gets the ActionNames attribute of the Save object.
- Returns:
the ActionNames value
-
doAction
void doAction(ActionEvent e)
-
-
-
-