Inheritance diagram for BpoProperties::

Public Methods | |
| BpoProperties () | |
| void | show () |
| String | getText () |
| void | onOk () |
Public Attributes | |
| String | bpoName |
| String | tagName |
| int | tagValue |
| JTextField | bpoField |
| JTextField | nameField |
| JTextField | valueField |
|
|
00187 {
00188 super("Bpo properties");
00189
00190 bpoField = new JTextField(30);
00191 nameField = new JTextField(30);
00192 valueField = new JTextField(30);
00193 addPair("Bpo name:", bpoField);
00194 addPair("Tag name:", nameField);
00195 addPair("Tag value:", valueField);
00196 }
|
|
|
Reimplemented from PropertyDialog.
|
|
|
Reimplemented from PropertyDialog.
00207 {
00208 return bpoName;
00209 }
|
|
|
Reimplemented from PropertyDialog.
00212 {
00213 bpoName = bpoField.getText();
00214 try {
00215 tagValue = Integer.parseInt(valueField.getText());
00216 tagName = nameField.getText();
00217 }
00218 catch(NumberFormatException e) {
00219 ErrorStreamArea.println("Not a number");
00220 tagName = "";
00221 }
00222 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001