|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
public interface WindowConstants
윈도우의 클로즈 조작을 제어하는 정수입니다. JFrame,JInternalFrame
, 및 JDialog
의 setDefaultCloseOperation
메소드와 getDefaultCloseOperation
메소드가 이러한 정수를 사용합니다. 디폴트의 윈도우 클로즈 조작에 대해서는, 「The Java Tutorial」의「Responding to Window-Closing Events」를 참조해 주세요.
JFrame.setDefaultCloseOperation(int)
,
JDialog.setDefaultCloseOperation(int)
,
JInternalFrame.setDefaultCloseOperation(int)
필드의 개요 | |
---|---|
static int |
DISPOSE_ON_CLOSE
윈도우를 파기하는, 디폴트의 윈도우 클로즈 조작입니다. |
static int |
DO_NOTHING_ON_CLOSE
아무것도 실시하지 않는, 디폴트의 윈도우 클로즈 조작입니다. |
static int |
EXIT_ON_CLOSE
종료하는 어플리케이션의 디폴트의 윈도우 클로즈 조작입니다. |
static int |
HIDE_ON_CLOSE
윈도우를 숨기는, 디폴트의 윈도우 클로즈 조작입니다. |
필드의 상세 |
---|
static final int DO_NOTHING_ON_CLOSE
static final int HIDE_ON_CLOSE
static final int DISPOSE_ON_CLOSE
주:Java 가상 머신 (VM) 내에서 마지막 표시 가능한 윈도우가 파기되면(자), VM 가 종료되는 일이 있습니다. 상세한 것에 대하여는,「AWT Threading Issues」를 참조해 주세요.
Window.dispose()
,
JInternalFrame.dispose()
,
정수 필드치 static final int EXIT_ON_CLOSE
SecurityManager
에 근거해 SecurityException
가 throw 되는 일이 있습니다. 이 오퍼레이션은 어플리케이션만으로 사용하는 것을 추천합니다.
JFrame.setDefaultCloseOperation(int)
,
정수 필드치
|
JavaTM Platform Standard Ed. 6 |
|||||||||
앞의 클래스 다음의 클래스 | 프레임 있어 프레임 없음 | |||||||||
개요: 상자 | 필드 | 생성자 | 메소드 | 상세 : 필드 | 생성자 | 메소드 |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy 도 참조해 주세요.