class ButtonChanger
extends java.lang.Object
implements java.awt.event.ActionListener
| Modifier and Type | Field and Description |
|---|---|
(package private) java.awt.Button |
f
Il bottone da gestire
|
(package private) GraphPanel |
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 |
|---|
ButtonChanger(java.awt.Button f,
GraphPanel gp)
Crea un ButtonChanger
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Il gestore dell'evento
|
GraphPanel gp
java.awt.Button f
int stato
public ButtonChanger(java.awt.Button f,
GraphPanel gp)
f - il bottone da controllaregp - il GraphPanel associato