2024-06-12
This commit is contained in:
30
Writerside2/topics/Dialog.md
Normal file
30
Writerside2/topics/Dialog.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# 대화상자
|
||||
|
||||
|
||||
## JOptionPane
|
||||
* `void showMessageDialog()` : 부모 컴포넌트, 메시지, 타이틀, 메시지 타입, 아이콘
|
||||
* `int showOptionDialog()` : 부모 컴포넌트, 메시지, 타이틀, 옵션 타입, 메시지 타입, 아이콘, 옵션 목록, 초기값
|
||||
* `int showConfirmDialog()` : 부모 컴포넌트, 메시지, 타이틀, 옵션 타입, 메시지 타입, 아이콘
|
||||
* `String showInputDialog()` : 부모 컴포넌트, 메시지, 타이틀, 메시지 타입, 아이콘, 옵션 목록, 초기값
|
||||
* `showInternalMessageDialog()` / `showInternalXXXDialog()`
|
||||
|
||||
## JColorChooser
|
||||
|
||||
## JFileChooser
|
||||
|
||||
## JDialog
|
||||
|
||||
|
||||
* `getContentPane()` / `setContentPane(Container)`
|
||||
* `setLocationRelativeTo(Component)`
|
||||
* `getDefaultCloseOption()` / `setDefaultCloseOption(int)` : DISPOSE_ON_CLOSE | DO_NOTHING_ON_CLOSE | HIDE_ON_CLOSE
|
||||
* `isDefaultLookAndFeelDecorated()` / `setDefaultLookAndFeelDecorated(boolean)`
|
||||
|
||||
* `getModalityType()` / `setModalityType(Dialog.ModalityType)`
|
||||
|
||||
### ModalityType
|
||||
* Modeless type
|
||||
* Document-model type
|
||||
* Application-modal type
|
||||
* Toolkit-modal type
|
||||
* Exclusion mode
|
||||
Reference in New Issue
Block a user