public class JPasswordFieldInputDialog extends InputDialog
closeButton, dialog, jOptionPane| 构造器和说明 |
|---|
JPasswordFieldInputDialog(Component parentComponent,
String inputPrompt) |
JPasswordFieldInputDialog(String inputPrompt) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected JComponent |
getInputComponent()
自定义输入组件
|
void |
setHeight(int height) |
void |
setSize(int width,
int height) |
void |
setWidth(int width) |
customizeDialogComponentView, getInputValue, onCloseDialog, setDefaultValue, setInputPrompt, show, show, showgetParentComponent, getTitle, initCloseButtonpublic JPasswordFieldInputDialog(String inputPrompt)
protected JComponent getInputComponent()
InputDialoggetInputComponent 在类中 InputDialogpublic void setWidth(int width)
public void setHeight(int height)
public void setSize(int width,
int height)
Copyright © 2021. All rights reserved.