$darkmode
DENOPTIM
denoptim.gui.GUIFileSaver Class Reference

GUI component to provide pathname where to save stuff. More...

Collaboration diagram for denoptim.gui.GUIFileSaver:
[legend]

Static Public Member Functions

static FileAndFormat pickFileForSavingGraphs (Component parent)
 
static FileAndFormat pickFileForSavingVertexes (Component parent)
 
static FileAndFormat pickFileForSavingCuttingRules (Component parent)
 

Static Private Member Functions

static File getSystemRoot ()
 

Static Private Attributes

static JFileChooser fileChooser = new JFileChooser(getSystemRoot())
 

Detailed Description

GUI component to provide pathname where to save stuff.

Definition at line 36 of file GUIFileSaver.java.

Member Function Documentation

◆ getSystemRoot()

static File denoptim.gui.GUIFileSaver.getSystemRoot ( )
staticprivate

Definition at line 42 of file GUIFileSaver.java.

◆ pickFileForSavingCuttingRules()

static FileAndFormat denoptim.gui.GUIFileSaver.pickFileForSavingCuttingRules ( Component  parent)
static

Definition at line 105 of file GUIFileSaver.java.

References denoptim.files.FileFormat.CUTRULE, and denoptim.gui.GUIFileSaver.fileChooser.

Referenced by denoptim.gui.CuttingRulesSelectionDialog.CuttingRulesSelectionDialog().

Here is the caller graph for this function:

◆ pickFileForSavingGraphs()

static FileAndFormat denoptim.gui.GUIFileSaver.pickFileForSavingGraphs ( Component  parent)
static

Definition at line 53 of file GUIFileSaver.java.

References denoptim.gui.GUIFileSaver.fileChooser, denoptim.files.FileFormat.fromString(), and denoptim.files.FileFormat.DataKind.GRAPH.

Referenced by denoptim.gui.GUIGraphHandler.initialize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pickFileForSavingVertexes()

static FileAndFormat denoptim.gui.GUIFileSaver.pickFileForSavingVertexes ( Component  parent)
static

Definition at line 79 of file GUIFileSaver.java.

References denoptim.gui.GUIFileSaver.fileChooser, denoptim.files.FileFormat.fromString(), and denoptim.files.FileFormat.DataKind.VERTEX.

Referenced by denoptim.gui.GUIGraphHandler.initialize(), and denoptim.gui.GUIVertexInspector.initialize().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ fileChooser

JFileChooser denoptim.gui.GUIFileSaver.fileChooser = new JFileChooser(getSystemRoot())
staticprivate

The documentation for this class was generated from the following file: