$darkmode
DENOPTIM
denoptim.gui.GUICardPanel Class Reference

Class of GUI panels meant to occupy one card in the deck-of-cards layout of the main panel. More...

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

Classes

class  removeCardActionListener
 Remove the card from the deck of cards and takes care of removing also the entry in the list of active tabs. More...
 

Public Member Functions

 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...
 

Protected Attributes

GUIMainPanel mainPanel
 The main panel (cards deck) More...
 

Static Private Attributes

static final long serialVersionUID = -1640517890155875184L
 Version. More...
 

Detailed Description

Class of GUI panels meant to occupy one card in the deck-of-cards layout of the main panel.

Definition at line 33 of file GUICardPanel.java.

Constructor & Destructor Documentation

◆ GUICardPanel()

denoptim.gui.GUICardPanel.GUICardPanel ( GUIMainPanel  mainPanel,
String  newPanelName 
)

Constructor for JPanel meant to be a single "card" in the deck of cards.

Parameters
mainPanelcontainer playing the role of the deck of cards
newPanelNamethe reference name of this card in the deck.

Definition at line 50 of file GUICardPanel.java.

References denoptim.gui.GUICardPanel.mainPanel.

Member Function Documentation

◆ hasUnsavedChanges()

boolean denoptim.gui.GUICardPanel.hasUnsavedChanges ( )

Check for unsaved changes in the components included in this card.

Returns
true is there are unsaved changes.

Reimplemented in denoptim.gui.GUICompatibilityMatrixTab, denoptim.gui.GUIGraphHandler, denoptim.gui.GUIPrepare, and denoptim.gui.GUIVertexInspector.

Definition at line 61 of file GUICardPanel.java.

Referenced by denoptim.gui.GUICardPanel.removeCardActionListener.actionPerformed().

Here is the caller graph for this function:

Member Data Documentation

◆ mainPanel

◆ serialVersionUID

final long denoptim.gui.GUICardPanel.serialVersionUID = -1640517890155875184L
staticprivate

Version.

Definition at line 38 of file GUICardPanel.java.


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