|
|||||||||
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. This is the default behavior in case no underlying toolkit defines otherwise. |
static int |
DO_NOTHING_ON_CLOSE
Do nothing on native window close operation. This is the default behavior within an AWT environment. |
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_CLOSE
int 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 |