|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WindowClosingProtocol
Protocol for handling window closing events.
The implementation shall obey either the user value set by this interface,
an underlying toolkit set user value or it's default, eg. DO_NOTHING_ON_CLOSE within an AWT environment.
If none of the above determines the operation,
this protocol default behavior DISPOSE_ON_CLOSE shall be used.
| Field Summary | |
|---|---|
static int |
DISPOSE_ON_CLOSE
Dispose resources on native window close operation. |
static int |
DO_NOTHING_ON_CLOSE
Do nothing on native window close operation. |
| Method Summary | |
|---|---|
int |
getDefaultCloseOperation()
|
int |
setDefaultCloseOperation(int op)
|
| Field Detail |
|---|
static final int DISPOSE_ON_CLOSE
static final int DO_NOTHING_ON_CLOSE
| Method Detail |
|---|
int getDefaultCloseOperation()
DISPOSE_ON_CLOSE,
DO_NOTHING_ON_CLOSEint setDefaultCloseOperation(int op)
op - the new close operation value
DISPOSE_ON_CLOSE,
DO_NOTHING_ON_CLOSE
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||