public static class Window.BeforeCloseEvent
extends java.util.EventObject
Constructor and Description |
---|
BeforeCloseEvent(Window source) |
Modifier and Type | Method and Description |
---|---|
Window |
getSource() |
boolean |
isClosePrevented() |
void |
preventWindowClose() |
public BeforeCloseEvent(Window source)
source
- the window to be closedpublic Window getSource()
getSource
in class java.util.EventObject
public void preventWindowClose()
public boolean isClosePrevented()