class JButtonChanger
extends java.lang.Object
implements java.awt.event.ActionListener
| Modifier and Type | Field and Description |
|---|---|
(package private) javax.swing.JButton |
f
Il bottone da gestire
|
(package private) GraphJPanel |
gp
Il GraphPanel su cui agisce il bottone
|
(package private) int |
stato
lo stato in cui si trova il GraphPanel di prova
|
| Constructor and Description |
|---|
JButtonChanger(javax.swing.JButton f,
GraphJPanel gp)
Crea un JButtonChanger
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Il gestore dell'evento
|
GraphJPanel gp
javax.swing.JButton f
int stato
public JButtonChanger(javax.swing.JButton f,
GraphJPanel gp)
f - il bottone da controllaregp - il GraphPanel associato