public interface Dialog extends Component
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener listener) |
int |
getAction() |
ActionListener[] |
getActionListeners() |
void |
removeActionListener(ActionListener listener) |
void |
removeAllActionListener() |
void |
setButtonLabel(int button,
String label) |
void |
setButtons(int buttons) |
void |
setContents(JComponent contents) |
void |
setHeaderImage(Image image) |
void |
setHeaderLabel(String header) |
void |
setHeaderTitle(String header) |
void |
setIcon(Image icon) |
void |
show(WindowManager.MODE mode) |
asJComponent
int getAction()
void setContents(JComponent contents)
void setHeaderTitle(String header)
void setHeaderLabel(String header)
void setHeaderImage(Image image)
void setButtons(int buttons)
void setButtonLabel(int button, String label)
void show(WindowManager.MODE mode)
void setIcon(Image icon)
void addActionListener(ActionListener listener)
ActionListener[] getActionListeners()
void removeActionListener(ActionListener listener)
void removeAllActionListener()