$darkmode
DENOPTIM
|
Graphical User Interface of the DENOPTIM package. More...
Public Member Functions | |
GUI (CommandLine cmd) | |
Constructor that specifies parameters. More... | |
void | run () |
Launch the application. More... | |
Protected Member Functions | |
void | closeIfAllSaved () |
Close GUI is there are no unsaved changes to the open components. More... | |
Static Package Attributes | |
static final String | GUILOGGER = "GUILogger" |
Name of logger for the GUI. More... | |
static final Randomizer | PRNG = new Randomizer(System.currentTimeMillis()) |
Random number generator specific for the GUI, and any of its tasks. More... | |
Static Private Member Functions | |
static boolean | weRunOnMacDarkMode () |
Checks if we are in dark mode. More... | |
Private Attributes | |
JFrame | frame |
GUI window frame. More... | |
JPanel | framePane |
Panel including tool bar. More... | |
GUIMainPanel | mainPanel |
Panel including all but tool bar. More... | |
int | width = 960 |
Default width. More... | |
int | height = 690 |
Default height. More... | |
CommandLine | cmd |
Command line options. More... | |
Graphical User Interface of the DENOPTIM package.
This GUI aims to facilitate:
denoptim.gui.GUI.GUI | ( | CommandLine | cmd | ) |
Constructor that specifies parameters.
Definition at line 103 of file GUI.java.
References denoptim.gui.GUI.cmd, and denoptim.gui.GUI.GUILOGGER.
|
protected |
Close GUI is there are no unsaved changes to the open components.
Definition at line 225 of file GUI.java.
References denoptim.gui.GUI.frame, denoptim.task.StaticTaskManager.hasActive(), denoptim.gui.GUIMainPanel.hasUnsavedChanges(), denoptim.gui.GUI.mainPanel, and denoptim.task.StaticTaskManager.stopAll().
Referenced by denoptim.gui.MainToolBar.initialize(), and denoptim.gui.GUI.run().
void denoptim.gui.GUI.run | ( | ) |
Launch the application.
Definition at line 117 of file GUI.java.
References denoptim.gui.GUIMainPanel.add(), denoptim.gui.GUI.closeIfAllSaved(), denoptim.gui.GUI.cmd, denoptim.files.FileUtils.detectFileFormat(), denoptim.gui.GUI.frame, denoptim.gui.GUI.framePane, denoptim.gui.GUI.height, denoptim.gui.GUI.mainPanel, denoptim.gui.MainToolBar.openFile(), denoptim.task.StaticTaskManager.queueStatusBar, denoptim.gui.MainToolBar.setRefToMainPanel(), denoptim.gui.MainToolBar.setRefToMasterGUI(), denoptim.files.FileFormat.UNRECOGNIZED, denoptim.gui.GUI.weRunOnMacDarkMode(), and denoptim.gui.GUI.width.
|
staticprivate |
Checks if we are in dark mode.
Definition at line 205 of file GUI.java.
Referenced by denoptim.gui.GUI.run().
|
private |
Command line options.
Definition at line 86 of file GUI.java.
Referenced by denoptim.gui.GUI.GUI(), and denoptim.gui.GUI.run().
|
private |
GUI window frame.
Definition at line 61 of file GUI.java.
Referenced by denoptim.gui.GUI.closeIfAllSaved(), and denoptim.gui.GUI.run().
|
private |
Panel including tool bar.
Definition at line 66 of file GUI.java.
Referenced by denoptim.gui.GUI.run().
|
staticpackage |
Name of logger for the GUI.
Definition at line 91 of file GUI.java.
Referenced by denoptim.gui.FragmentViewPanel.getLoadedStructure(), denoptim.gui.GUI.GUI(), and denoptim.gui.GraphVertexMolViewerPanel.updateMolevularViewer().
|
private |
|
private |
Panel including all but tool bar.
Definition at line 71 of file GUI.java.
Referenced by denoptim.gui.GUI.closeIfAllSaved(), and denoptim.gui.GUI.run().
|
staticpackage |
Random number generator specific for the GUI, and any of its tasks.
Definition at line 96 of file GUI.java.
Referenced by denoptim.gui.GUIGraphHandler.importGraphsFromFile(), denoptim.gui.GUIGraphHandler.initialize(), and denoptim.gui.GraphVertexMolViewerPanel.updateMolevularViewer().
|
private |