Public Member Functions | |
InfoServiceDialog (Frame parent, String title, final InfoServiceTableModel model) | |
InfoServiceDialog (Frame parent, String title, final InfoServiceTableModel model, InfoServiceData data) | |
Protected Member Functions | |
String | getType () |
InfoServiceData | getData () |
void | addHost (final InfoServiceData data, GridBagLayout layout, GridBagConstraints lc, GridBagConstraints rc) |
void | addPort (final InfoServiceData data, GridBagLayout layout, GridBagConstraints lc, GridBagConstraints rc) |
void | addKeys (final InfoServiceData data, final InfoServiceTableModel model, GridBagLayout layout, GridBagConstraints lc, GridBagConstraints rc) |
Protected Attributes | |
final ActionListener | nextFocusAction |
Private Member Functions | |
void | createDialog (final InfoServiceData data, final InfoServiceTableModel where) |
Private Attributes | |
MixConfigTextField | m_tfHost |
JAPJIntField | m_tfPort |
JLabel | m_lblHost |
JLabel | m_lblPort |
mixconfig.infoservice.InfoServiceDialog.InfoServiceDialog | ( | Frame | parent, | |
String | title, | |||
final InfoServiceTableModel | model | |||
) |
Constructor for a "New"-dialog
parent | ||
title | ||
where |
References mixconfig.infoservice.InfoServiceDialog.createDialog().
mixconfig.infoservice.InfoServiceDialog.InfoServiceDialog | ( | Frame | parent, | |
String | title, | |||
final InfoServiceTableModel | model, | |||
InfoServiceData | data | |||
) |
Constructor for a "Modify"-dialog
parent | ||
title | ||
where | ||
data |
References mixconfig.infoservice.InfoServiceDialog.createDialog().
String mixconfig.infoservice.InfoServiceDialog.getType | ( | ) | [protected] |
Referenced by mixconfig.infoservice.InfoServiceDialog.getData().
InfoServiceData mixconfig.infoservice.InfoServiceDialog.getData | ( | ) | [protected] |
Create a data-object from the TextFields and return it
References mixconfig.infoservice.InfoServiceDialog.getType(), mixconfig.infoservice.InfoServiceDialog.m_tfHost, and mixconfig.infoservice.InfoServiceDialog.m_tfPort.
Referenced by mixconfig.infoservice.InfoServiceDialog.addKeys().
void mixconfig.infoservice.InfoServiceDialog.createDialog | ( | final InfoServiceData | data, | |
final InfoServiceTableModel | where | |||
) | [private] |
void mixconfig.infoservice.InfoServiceDialog.addHost | ( | final InfoServiceData | data, | |
GridBagLayout | layout, | |||
GridBagConstraints | lc, | |||
GridBagConstraints | rc | |||
) | [protected] |
References mixconfig.infoservice.InfoServiceData.getListenerInterface(), mixconfig.infoservice.InfoServiceDialog.m_lblHost, mixconfig.infoservice.InfoServiceDialog.m_tfHost, and mixconfig.infoservice.InfoServiceDialog.nextFocusAction.
Referenced by mixconfig.infoservice.InfoServiceDialog.createDialog().
void mixconfig.infoservice.InfoServiceDialog.addPort | ( | final InfoServiceData | data, | |
GridBagLayout | layout, | |||
GridBagConstraints | lc, | |||
GridBagConstraints | rc | |||
) | [protected] |
References mixconfig.infoservice.InfoServiceData.getListenerInterface(), mixconfig.infoservice.InfoServiceDialog.m_lblPort, mixconfig.infoservice.InfoServiceDialog.m_tfPort, and mixconfig.infoservice.InfoServiceDialog.nextFocusAction.
Referenced by mixconfig.infoservice.InfoServiceDialog.createDialog().
void mixconfig.infoservice.InfoServiceDialog.addKeys | ( | final InfoServiceData | data, | |
final InfoServiceTableModel | model, | |||
GridBagLayout | layout, | |||
GridBagConstraints | lc, | |||
GridBagConstraints | rc | |||
) | [protected] |
References mixconfig.infoservice.InfoServiceTableModel.addData(), mixconfig.infoservice.InfoServiceTableModel.changeData(), mixconfig.infoservice.InfoServiceDialog.getData(), mixconfig.infoservice.InfoServiceDialog.m_tfHost, and mixconfig.infoservice.InfoServiceDialog.m_tfPort.
Referenced by mixconfig.infoservice.InfoServiceDialog.createDialog().
MixConfigTextField mixconfig.infoservice.InfoServiceDialog.m_tfHost [private] |
JAPJIntField mixconfig.infoservice.InfoServiceDialog.m_tfPort [private] |
JLabel mixconfig.infoservice.InfoServiceDialog.m_lblHost [private] |
Referenced by mixconfig.infoservice.InfoServiceDialog.addHost().
JLabel mixconfig.infoservice.InfoServiceDialog.m_lblPort [private] |
Referenced by mixconfig.infoservice.InfoServiceDialog.addPort().
final ActionListener mixconfig.infoservice.InfoServiceDialog.nextFocusAction [protected] |
Initial value:
new ActionListener() { public void actionPerformed(ActionEvent evt) { ((Component)evt.getSource()).transferFocus(); } }
Referenced by mixconfig.infoservice.InfoServiceDialog.addHost(), and mixconfig.infoservice.InfoServiceDialog.addPort().