public final class CloseWindowCommandListener
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
CloseWindowCommandListener(java.awt.Component component)
Create a listener to close the specified window upon command.
|
CloseWindowCommandListener(java.awt.Window window)
Create a listener to close the specified window upon command.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Do not call.
|
public CloseWindowCommandListener(java.awt.Window window)
window
- Window subclass instance to closepublic CloseWindowCommandListener(java.awt.Component component)
component
- Component whose containing Window subclass instance should be closed