|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MainWindowListener
The MainWindowListener
interface is one of the interfaces extension
writers use to add functionality to Spark.
In general, you implement this interface in order to listen for Window events that could otherwise not be listened to by attaching to the MainWindow due to security restrictions.
Method Summary | |
---|---|
void |
mainWindowActivated()
Invoked by the MainWindow when it has been activated, such
as when it is coming out of a minimized state. |
void |
mainWindowDeactivated()
Invoked by the MainWindow when it has been minimized in the toolbar. |
void |
shutdown()
Invoked by the MainWindow when it is about the shutdown. |
Method Detail |
---|
void shutdown()
MainWindow
when it is about the shutdown.
When invoked, the MainWindowListener
should do anything necessary to persist their current state.
MainWindowListeners
authors should take care to ensure
that any extraneous processing is not performed on this method, as it would
cause a delay in the shutdown process.
MainWindow
void mainWindowActivated()
MainWindow
when it has been activated, such
as when it is coming out of a minimized state.
When invoked, the MainWindowListener
should do anything necessary to smoothly transition back to the application.
MainWindow
void mainWindowDeactivated()
MainWindow
when it has been minimized in the toolbar.
MainWindow
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |