p2pgui.LogOutFrameServer Class Reference

Classe che genera graficamente la finestra di LogOut dal frame Server. More...

Inheritance diagram for p2pgui.LogOutFrameServer:
Collaboration diagram for p2pgui.LogOutFrameServer:

Public Member Functions

 LogOutFrameServer (java.awt.Frame parent, boolean modal)
 Costruttore della classe che crea un nuovo form LogOutFrameServer. More...
 
int getReturnStatus ()
 Funzione che fornisce lo stato di ritorno della finestra. More...
 

Static Public Attributes

static final int RET_CANCEL = 0
 Codice di ritorno della stato - ritorna se viene premuto il bottone Cancel. More...
 
static final int RET_OK = 1
 Codice di ritorno della stato - ritorna se viene premuto il bottone OK. More...
 

Private Member Functions

void initComponents ()
 Metodo chiamato dal costruttore per inizializzare la form WARNING: Do NOT modify this code. More...
 
void okButtonActionPerformed (java.awt.event.ActionEvent evt)
 Azioni da effettuare se avviene la pressione del bottone OK: delete delle tabelle contenenti i riferimenti ai file condivisi e agli utenti collegati, chiusura dell'istanza del DB e chiusura del frame ServerFrame. More...
 
void cancelButtonActionPerformed (java.awt.event.ActionEvent evt)
 Azione da effettuare se avviene la pressione del bottone CANCEL. More...
 
void closeDialog (java.awt.event.WindowEvent evt)
 Azione da effettuare se avviene la pressione della X per chiudere la finestra. More...
 
void doClose (int retStatus)
 Funzione imposta lo stato di ritorno in base a retStatus. More...
 

Private Attributes

javax.swing.JButton cancelButton
 
javax.swing.JLabel jLabel1
 
javax.swing.JButton okButton
 
int returnStatus = RET_CANCEL
 

Detailed Description

Classe che genera graficamente la finestra di LogOut dal frame Server.

Author
HTTPS://WWW.PIETRIS.NET

Definition at line 10 of file LogOutFrameServer.java.

Constructor & Destructor Documentation

◆ LogOutFrameServer()

p2pgui.LogOutFrameServer.LogOutFrameServer ( java.awt.Frame  parent,
boolean  modal 
)
inline

Costruttore della classe che crea un nuovo form LogOutFrameServer.

Parameters
parent
modal

Definition at line 20 of file LogOutFrameServer.java.

References p2pgui.LogOutFrameServer.initComponents().

Here is the call graph for this function:

Member Function Documentation

◆ cancelButtonActionPerformed()

void p2pgui.LogOutFrameServer.cancelButtonActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azione da effettuare se avviene la pressione del bottone CANCEL.

Parameters
evt

Definition at line 138 of file LogOutFrameServer.java.

References p2pgui.LogOutFrameServer.doClose(), and p2pgui.LogOutFrameServer.RET_CANCEL.

Referenced by p2pgui.LogOutFrameServer.initComponents().

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

◆ closeDialog()

void p2pgui.LogOutFrameServer.closeDialog ( java.awt.event.WindowEvent  evt)
inlineprivate

Azione da effettuare se avviene la pressione della X per chiudere la finestra.

Parameters
evt

Definition at line 146 of file LogOutFrameServer.java.

References p2pgui.LogOutFrameServer.doClose(), and p2pgui.LogOutFrameServer.RET_CANCEL.

Referenced by p2pgui.LogOutFrameServer.initComponents().

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

◆ doClose()

void p2pgui.LogOutFrameServer.doClose ( int  retStatus)
inlineprivate

Funzione imposta lo stato di ritorno in base a retStatus.

Parameters
retStatus

Definition at line 154 of file LogOutFrameServer.java.

References p2pgui.LogOutFrameServer.returnStatus.

Referenced by p2pgui.LogOutFrameServer.cancelButtonActionPerformed(), p2pgui.LogOutFrameServer.closeDialog(), and p2pgui.LogOutFrameServer.okButtonActionPerformed().

Here is the caller graph for this function:

◆ getReturnStatus()

int p2pgui.LogOutFrameServer.getReturnStatus ( )
inline

Funzione che fornisce lo stato di ritorno della finestra.

Returns
RET_OK o RET_CANCEL

Definition at line 28 of file LogOutFrameServer.java.

References p2pgui.LogOutFrameServer.returnStatus.

◆ initComponents()

void p2pgui.LogOutFrameServer.initComponents ( )
inlineprivate

Metodo chiamato dal costruttore per inizializzare la form WARNING: Do NOT modify this code.

The content of this method is always regenerated by the Form Editor.

Definition at line 38 of file LogOutFrameServer.java.

References p2pgui.LogOutFrameServer.cancelButton, p2pgui.LogOutFrameServer.cancelButtonActionPerformed(), p2pgui.LogOutFrameServer.closeDialog(), p2pgui.LogOutFrameServer.jLabel1, p2pgui.LogOutFrameServer.okButton, and p2pgui.LogOutFrameServer.okButtonActionPerformed().

Referenced by p2pgui.LogOutFrameServer.LogOutFrameServer().

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

◆ okButtonActionPerformed()

void p2pgui.LogOutFrameServer.okButtonActionPerformed ( java.awt.event.ActionEvent  evt)
inlineprivate

Azioni da effettuare se avviene la pressione del bottone OK: delete delle tabelle contenenti i riferimenti ai file condivisi e agli utenti collegati, chiusura dell'istanza del DB e chiusura del frame ServerFrame.

Parameters
evt

Definition at line 112 of file LogOutFrameServer.java.

References p2pgui.LogOutFrameServer.doClose(), p2pgui.ServerFrame.IDB, p2putility.Config.r_clientOpen(), p2pgui.LogOutFrameServer.RET_OK, p2pgui.ServerFrame.t1, p2pgui.ServerFrame.t2, and p2putility.Config.w_serverOpen().

Referenced by p2pgui.LogOutFrameServer.initComponents().

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

Field Documentation

◆ cancelButton

javax.swing.JButton p2pgui.LogOutFrameServer.cancelButton
private

Definition at line 161 of file LogOutFrameServer.java.

Referenced by p2pgui.LogOutFrameServer.initComponents().

◆ jLabel1

javax.swing.JLabel p2pgui.LogOutFrameServer.jLabel1
private

Definition at line 162 of file LogOutFrameServer.java.

Referenced by p2pgui.LogOutFrameServer.initComponents().

◆ okButton

javax.swing.JButton p2pgui.LogOutFrameServer.okButton
private

Definition at line 163 of file LogOutFrameServer.java.

Referenced by p2pgui.LogOutFrameServer.initComponents().

◆ RET_CANCEL

final int p2pgui.LogOutFrameServer.RET_CANCEL = 0
static

Codice di ritorno della stato - ritorna se viene premuto il bottone Cancel.

Definition at line 12 of file LogOutFrameServer.java.

Referenced by p2pgui.LogOutFrameServer.cancelButtonActionPerformed(), and p2pgui.LogOutFrameServer.closeDialog().

◆ RET_OK

final int p2pgui.LogOutFrameServer.RET_OK = 1
static

Codice di ritorno della stato - ritorna se viene premuto il bottone OK.

Definition at line 14 of file LogOutFrameServer.java.

Referenced by p2pgui.LogOutFrameServer.okButtonActionPerformed().

◆ returnStatus

int p2pgui.LogOutFrameServer.returnStatus = RET_CANCEL
private

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