|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbr.uerj.petrinetanalyzer.gui.listener.AbstractActionListener
public abstract class AbstractActionListener
Classe para auxiliar no tratamento de eventos do programa.
| Field Summary | |
|---|---|
static int |
modo
|
static int |
sub_modo
|
protected static MainWindow |
window
|
| Fields inherited from interface br.uerj.petrinetanalyzer.gui.interfaces.IntfMainConstants |
|---|
DRAW_ARC, EDIT_ARC, EDIT_DELETE, EDIT_LABEL, EDIT_LUGAR, EDIT_MOUSE, EDIT_TRANS, FILE_SAVE, MODO_ANALISE, MODO_EDICAO, MODO_SIMULACAO, PROP_LANGUAGE_FILE_DEFAULT, PROP_LANGUAGE_FILE_ENGLISH, PROP_LANGUAGE_FILE_PORT_BR, SIM_BACK, SIM_START, SIM_STOP |
| Constructor Summary | |
|---|---|
AbstractActionListener()
|
|
| Method Summary | |
|---|---|
void |
cleanInfoPanel()
Limpa os painéis de informação. |
void |
disableEditButton()
Desabilita botões de edição. |
void |
disableSimulationButton()
Desabilita alguns dos botões de simulação. |
void |
enableEditButton()
Habilita botões de edição. |
void |
enableSimulationButton()
Habilita os botões de simulação. |
MainWindow |
getWindow()
Retorna a instância de MainWindow. |
void |
setWindow(MainWindow w)
Seta a instância de MainWindow. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int modo
public static int sub_modo
protected static MainWindow window
| Constructor Detail |
|---|
public AbstractActionListener()
| Method Detail |
|---|
public void setWindow(MainWindow w)
w - Janela Principalpublic MainWindow getWindow()
public void disableSimulationButton()
public void enableSimulationButton()
public void disableEditButton()
public void enableEditButton()
public void cleanInfoPanel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||