public class ProjectCloseAction extends ProjectAction implements WindowListener
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
ProjectCloseAction(ProjectTree treeView)
Constrói a ação.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Executa essa ação.
|
boolean |
close()
Tenta salvar as modificações no projeto?
|
String |
getName()
Obtém o nome da ação.
|
void |
windowActivated(WindowEvent e) |
void |
windowClosed(WindowEvent e) |
void |
windowClosing(WindowEvent e)
Executa a ação relativa a janela
|
void |
windowDeactivated(WindowEvent e) |
void |
windowDeiconified(WindowEvent e) |
void |
windowIconified(WindowEvent e) |
void |
windowOpened(WindowEvent e) |
clearClipboard, closeProject, enableIfProject, enableIfProjectOpened, getCurrentProject, getProjectTree, getSelectedFile, getSelectedFiles, getTitle, getWindow, lostOwnership, setCurrentProjectaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic ProjectCloseAction(ProjectTree treeView)
treeView - .public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListeneractionPerformed in class ProjectActione - .public void windowClosing(WindowEvent e)
windowClosing in interface WindowListenere - evento.public boolean close()
public String getName()
getName in class ProjectActionpublic void windowActivated(WindowEvent e)
windowActivated in interface WindowListenerWindowListener.windowActivated(java.awt.event.WindowEvent)public void windowClosed(WindowEvent e)
windowClosed in interface WindowListenerWindowListener.windowClosed(java.awt.event.WindowEvent)public void windowDeactivated(WindowEvent e)
windowDeactivated in interface WindowListenerWindowListener.windowDeactivated(java.awt.event.WindowEvent)public void windowDeiconified(WindowEvent e)
windowDeiconified in interface WindowListenerWindowListener.windowDeiconified(java.awt.event.WindowEvent)public void windowIconified(WindowEvent e)
windowIconified in interface WindowListenerWindowListener.windowIconified(java.awt.event.WindowEvent)public void windowOpened(WindowEvent e)
windowOpened in interface WindowListenerWindowListener.windowOpened(java.awt.event.WindowEvent)Copyright © 2018. All rights reserved.