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.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | WindowClosingProtocol.
Window closing mode if triggered by toolkit close operation. |
| Modifier and Type | Method and Description |
|---|---|
| public WindowClosingProtocol. | |
| public WindowClosingProtocol. | Returns: the previous close operation valuethe new close operation value op
|
| getDefaultCloseOperation | back to summary |
|---|---|
public WindowClosingProtocol.
| |
| setDefaultCloseOperation | back to summary |
|---|---|
public WindowClosingProtocol.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final WindowClosingProtocol. | DISPOSE_ON_CLOSE
Dispose resources on native window close operation. |
| public static final WindowClosingProtocol. | DO_NOTHING_ON_CLOSE
Do nothing on native window close operation. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static WindowClosingProtocol. | |
| public static WindowClosingProtocol. |
| DISPOSE_ON_CLOSE | back to summary |
|---|---|
| public static final WindowClosingProtocol. Dispose resources on native window close operation. | |
| DO_NOTHING_ON_CLOSE | back to summary |
|---|---|
| public static final WindowClosingProtocol. Do nothing on native window close operation. | |
| WindowClosingMode | back to summary |
|---|---|
| private WindowClosingMode() | |
| valueOf | back to summary |
|---|---|
| public static WindowClosingProtocol. | |
| values | back to summary |
|---|---|
| public static WindowClosingProtocol. | |