$darkmode
DENOPTIM
denoptim.gui.GUICompatibilityMatrixTab Class Reference

A panel for handling of compatibility matrix. More...

Inheritance diagram for denoptim.gui.GUICompatibilityMatrixTab:
[legend]
Collaboration diagram for denoptim.gui.GUICompatibilityMatrixTab:
[legend]

Public Member Functions

 GUICompatibilityMatrixTab (GUIMainPanel mainPanel)
 Constructor. More...
 
void importCPMapFromFile (JComponent parent, File inFile)
 
boolean hasUnsavedChanges ()
 Check whether there are unsaved changes. More...
 
- Public Member Functions inherited from denoptim.gui.GUICardPanel
 GUICardPanel (GUIMainPanel mainPanel, String newPanelName)
 Constructor for JPanel meant to be a single "card" in the deck of cards. More...
 
boolean hasUnsavedChanges ()
 Check for unsaved changes in the components included in this card. More...
 

Static Public Attributes

static AtomicInteger CPMapTabUID = new AtomicInteger(1)
 Unique identified for instances of this inspector. More...
 

Private Member Functions

void initialize ()
 Initialize the panel and add buttons. More...
 

Private Attributes

boolean unsavedChanges = false
 Flag signaling that loaded data has changes since last save. More...
 
JButton btnLoadCPMap
 
JButton btnImportAPClasses
 
CompatibilityMatrixForm cpMapHandler
 

Static Private Attributes

static final long serialVersionUID = 912850110991449553L
 Version UID. More...
 

Additional Inherited Members

- Protected Attributes inherited from denoptim.gui.GUICardPanel
GUIMainPanel mainPanel
 The main panel (cards deck) More...
 

Detailed Description

A panel for handling of compatibility matrix.

Author
Marco Foscato

Definition at line 42 of file GUICompatibilityMatrixTab.java.

Constructor & Destructor Documentation

◆ GUICompatibilityMatrixTab()

denoptim.gui.GUICompatibilityMatrixTab.GUICompatibilityMatrixTab ( GUIMainPanel  mainPanel)

Constructor.

Definition at line 70 of file GUICompatibilityMatrixTab.java.

References denoptim.gui.GUICompatibilityMatrixTab.CPMapTabUID, denoptim.gui.GUICompatibilityMatrixTab.initialize(), and denoptim.gui.GUICardPanel.mainPanel.

Here is the call graph for this function:

Member Function Documentation

◆ hasUnsavedChanges()

boolean denoptim.gui.GUICompatibilityMatrixTab.hasUnsavedChanges ( )

Check whether there are unsaved changes.

Returns
true if there are unsaved changes.

Reimplemented from denoptim.gui.GUICardPanel.

Definition at line 222 of file GUICompatibilityMatrixTab.java.

References denoptim.gui.GUICompatibilityMatrixTab.unsavedChanges.

◆ importCPMapFromFile()

void denoptim.gui.GUICompatibilityMatrixTab.importCPMapFromFile ( JComponent  parent,
File  inFile 
)

Definition at line 210 of file GUICompatibilityMatrixTab.java.

References denoptim.gui.GUICompatibilityMatrixTab.cpMapHandler, and denoptim.gui.CompatibilityMatrixForm.importCPMapFromFile().

Referenced by denoptim.gui.MainToolBar.openFile().

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

◆ initialize()

Member Data Documentation

◆ btnImportAPClasses

JButton denoptim.gui.GUICompatibilityMatrixTab.btnImportAPClasses
private

◆ btnLoadCPMap

JButton denoptim.gui.GUICompatibilityMatrixTab.btnLoadCPMap
private

◆ cpMapHandler

CompatibilityMatrixForm denoptim.gui.GUICompatibilityMatrixTab.cpMapHandler
private

◆ CPMapTabUID

AtomicInteger denoptim.gui.GUICompatibilityMatrixTab.CPMapTabUID = new AtomicInteger(1)
static

Unique identified for instances of this inspector.

Definition at line 52 of file GUICompatibilityMatrixTab.java.

Referenced by denoptim.gui.GUICompatibilityMatrixTab.GUICompatibilityMatrixTab().

◆ serialVersionUID

final long denoptim.gui.GUICompatibilityMatrixTab.serialVersionUID = 912850110991449553L
staticprivate

Version UID.

Definition at line 47 of file GUICompatibilityMatrixTab.java.

◆ unsavedChanges

boolean denoptim.gui.GUICompatibilityMatrixTab.unsavedChanges = false
private

Flag signaling that loaded data has changes since last save.

Definition at line 57 of file GUICompatibilityMatrixTab.java.

Referenced by denoptim.gui.GUICompatibilityMatrixTab.hasUnsavedChanges(), and denoptim.gui.GUICompatibilityMatrixTab.initialize().


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