

Classes | |
| class | IvjEventHandler |
Public Member Functions | |
| CallMethodDialog () | |
| CallMethodDialog (Operation op, JFrame frame, boolean modal, NotificationBean notifier, OperationInvocator invocator) | |
Static Public Member Functions | |
| static void | main (java.lang.String[] args) |
| static Object | stringConvert (String str, Class type) |
Package Attributes | |
| NotificationBean | notifier = null |
| IvjEventHandler | ivjEventHandler = new IvjEventHandler() |
Private Member Functions | |
| Object | arrayConvert (String str, Class type) |
| void | connEtoC1 () |
| void | connEtoM1 (java.awt.event.ActionEvent arg1) |
| void | generateParameterFields (Class[] types, String[] names, boolean[] mask) |
| void | generateSingleField (Class type, String name) |
| javax.swing.JLabel | getErrorLabel () |
| javax.swing.JButton | getJButton1 () |
| javax.swing.JButton | getJButton2 () |
| javax.swing.JLabel | getJLabel1 () |
| javax.swing.JLabel | getJLabel2 () |
| javax.swing.JLabel | getJLabel3 () |
| javax.swing.JPanel | getJPanel1 () |
| javax.swing.JPanel | getJPanel2 () |
| JLabel | getNameLabel (int n, String inName) |
| javax.swing.JTextPane | getParameterArea (int n) |
| javax.swing.JCheckBox | getParameterBox (int n) |
| javax.swing.JComboBox | getParameterCombo (int n, String[] values) |
| javax.swing.JTextField | getParameterField (int n) |
| JLabel | getTypeLabel (int n, String inType) |
| void | handleException (java.lang.Throwable exception) |
| void | initConnections () throws java.lang.Exception |
| void | initialize () |
| void | invokeClicked () |
| Object[] | readParameters (Class[] types, boolean[] mask, Object[] pFields) |
| Object | readReadableType (Class type) |
| String[] | readRows (String str) |
| Object | readSingleParameter (Class type) |
| void | unpackReadableType (Class type) |
Private Attributes | |
| JLabel | ivjJLabel1 = null |
| JLabel | ivjJLabel2 = null |
| JLabel | ivjJLabel3 = null |
| Operation | op = null |
| int | index = 0 |
| JPanel | ivjJPanel1 = null |
| Object[] | parameterFields = new Object[20] |
| JButton | ivjJButton1 = null |
| JPanel | ivjJPanel2 = null |
| OperationInvocator | invocator = null |
| JButton | ivjJButton2 = null |
| int | height = 0 |
| int | gridy = 0 |
| JLabel | ivjErrorLabel = null |
| Converter | converter = null |
| si::ijs::acs::objectexplorer::CallMethodDialog::CallMethodDialog | ( | ) | [inline] |
| si::ijs::acs::objectexplorer::CallMethodDialog::CallMethodDialog | ( | Operation | op, | |
| JFrame | frame, | |||
| boolean | modal, | |||
| NotificationBean | notifier, | |||
| OperationInvocator | invocator | |||
| ) | [inline] |
CallMethodDialog constructor comment.
| title | java.lang.String |
References si::ijs::acs::objectexplorer::engine::Converter::acceptInverseConvert(), converter, si::ijs::acs::objectexplorer::engine::Operation::getIntrospectable(), si::ijs::acs::objectexplorer::engine::SimpleIntrospectable::getName(), si::ijs::acs::objectexplorer::engine::Operation::getName(), height, initialize(), and si::ijs::acs::objectexplorer::engine::Operation::toString().
| Object si::ijs::acs::objectexplorer::CallMethodDialog::arrayConvert | ( | String | str, | |
| Class | type | |||
| ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 8:29:22 PM)
References readRows(), and stringConvert().
Referenced by readSingleParameter().
| void si::ijs::acs::objectexplorer::CallMethodDialog::connEtoC1 | ( | ) | [inline, private] |
connEtoC1: (JButton1.action. --> CallMethodDialog.invokeClicked()V)
References handleException(), and invokeClicked().
Referenced by si::ijs::acs::objectexplorer::CallMethodDialog::IvjEventHandler::actionPerformed().
| void si::ijs::acs::objectexplorer::CallMethodDialog::connEtoM1 | ( | java.awt.event.ActionEvent | arg1 | ) | [inline, private] |
connEtoM1: (JButton2.action.actionPerformed(java.awt.event.ActionEvent) --> CallMethodDialog.dispose()V)
| arg1 | java.awt.event.ActionEvent |
References handleException().
Referenced by si::ijs::acs::objectexplorer::CallMethodDialog::IvjEventHandler::actionPerformed().
| void si::ijs::acs::objectexplorer::CallMethodDialog::generateParameterFields | ( | Class[] | types, | |
| String[] | names, | |||
| boolean[] | mask | |||
| ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 4:50:59 PM)
References generateSingleField().
Referenced by getJPanel2(), and unpackReadableType().
| void si::ijs::acs::objectexplorer::CallMethodDialog::generateSingleField | ( | Class | type, | |
| String | name | |||
| ) | [inline, private] |
Insert the method's description here. Creation date: (11/20/00 5:08:19 PM)
References getJPanel1(), getNameLabel(), getParameterArea(), getParameterBox(), getParameterField(), getTypeLabel(), gridy, height, index, parameterFields, and unpackReadableType().
Referenced by generateParameterFields().
| javax.swing.JLabel si::ijs::acs::objectexplorer::CallMethodDialog::getErrorLabel | ( | ) | [inline, private] |
Return the ErrorLabel property value.
References handleException(), and ivjErrorLabel.
Referenced by getJPanel2(), and handleException().
| javax.swing.JButton si::ijs::acs::objectexplorer::CallMethodDialog::getJButton1 | ( | ) | [inline, private] |
Return the JButton1 property value.
References handleException(), and ivjJButton1.
Referenced by getJPanel2(), and initConnections().
| javax.swing.JButton si::ijs::acs::objectexplorer::CallMethodDialog::getJButton2 | ( | ) | [inline, private] |
Return the JButton2 property value.
References handleException(), and ivjJButton2.
Referenced by getJPanel2(), and initConnections().
| javax.swing.JLabel si::ijs::acs::objectexplorer::CallMethodDialog::getJLabel1 | ( | ) | [inline, private] |
Return the JLabel1 property value.
References handleException(), and ivjJLabel1.
Referenced by getJPanel1().
| javax.swing.JLabel si::ijs::acs::objectexplorer::CallMethodDialog::getJLabel2 | ( | ) | [inline, private] |
Return the JLabel2 property value.
References handleException(), and ivjJLabel2.
Referenced by getJPanel1().
| javax.swing.JLabel si::ijs::acs::objectexplorer::CallMethodDialog::getJLabel3 | ( | ) | [inline, private] |
Return the JLabel3 property value.
References handleException(), and ivjJLabel3.
Referenced by getJPanel1().
| javax.swing.JPanel si::ijs::acs::objectexplorer::CallMethodDialog::getJPanel1 | ( | ) | [inline, private] |
Return the JPanel1 property value.
References getJLabel1(), getJLabel2(), getJLabel3(), handleException(), and ivjJPanel1.
Referenced by generateSingleField(), getJPanel2(), getNameLabel(), getParameterBox(), getTypeLabel(), and unpackReadableType().
| javax.swing.JPanel si::ijs::acs::objectexplorer::CallMethodDialog::getJPanel2 | ( | ) | [inline, private] |
Return the JPanel1 property value.
References converter, generateParameterFields(), getErrorLabel(), si::ijs::acs::objectexplorer::engine::Converter::getInverseConvertParameterTypes(), getJButton1(), getJButton2(), getJPanel1(), si::ijs::acs::objectexplorer::engine::Operation::getMask(), si::ijs::acs::objectexplorer::engine::Operation::getName(), si::ijs::acs::objectexplorer::engine::Operation::getParameterNames(), si::ijs::acs::objectexplorer::engine::Operation::getParameterTypes(), handleException(), ivjJPanel2, and op.
Referenced by initialize().
| JLabel si::ijs::acs::objectexplorer::CallMethodDialog::getNameLabel | ( | int | n, | |
| String | inName | |||
| ) | [inline, private] |
Insert the method's description here. Creation date: (11/3/00 1:12:23 AM)
References getJPanel1(), and handleException().
Referenced by generateSingleField().
| javax.swing.JTextPane si::ijs::acs::objectexplorer::CallMethodDialog::getParameterArea | ( | int | n | ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 6:06:42 PM)
References handleException(), height, and parameterFields.
Referenced by generateSingleField().
| javax.swing.JCheckBox si::ijs::acs::objectexplorer::CallMethodDialog::getParameterBox | ( | int | n | ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 6:11:38 PM)
References getJPanel1(), handleException(), height, and parameterFields.
Referenced by generateSingleField().
| javax.swing.JComboBox si::ijs::acs::objectexplorer::CallMethodDialog::getParameterCombo | ( | int | n, | |
| String[] | values | |||
| ) | [inline, private] |
Insert the method's description here. Creation date: (11/20/00 5:08:19 PM)
References handleException(), height, and parameterFields.
Referenced by unpackReadableType().
| javax.swing.JTextField si::ijs::acs::objectexplorer::CallMethodDialog::getParameterField | ( | int | n | ) | [inline, private] |
Insert the method's description here. Creation date: (11/3/00 1:32:36 AM)
References handleException(), height, and parameterFields.
Referenced by generateSingleField().
| JLabel si::ijs::acs::objectexplorer::CallMethodDialog::getTypeLabel | ( | int | n, | |
| String | inType | |||
| ) | [inline, private] |
Insert the method's description here. Creation date: (11/3/00 1:31:05 AM)
References getJPanel1(), and handleException().
Referenced by generateSingleField().
| void si::ijs::acs::objectexplorer::CallMethodDialog::handleException | ( | java.lang.Throwable | exception | ) | [inline, private] |
Called whenever the part throws an exception.
| exception | java.lang.Throwable |
References getErrorLabel(), notifier, and si::ijs::acs::objectexplorer::NotificationBean::reportError().
Referenced by connEtoC1(), connEtoM1(), getErrorLabel(), getJButton1(), getJButton2(), getJLabel1(), getJLabel2(), getJLabel3(), getJPanel1(), getJPanel2(), getNameLabel(), getParameterArea(), getParameterBox(), getParameterCombo(), getParameterField(), getTypeLabel(), initialize(), and invokeClicked().
| void si::ijs::acs::objectexplorer::CallMethodDialog::initConnections | ( | ) | throws java.lang.Exception [inline, private] |
Initializes connections
| java.lang.Exception | The exception description. |
References getJButton1(), getJButton2(), and ivjEventHandler.
Referenced by initialize().
| void si::ijs::acs::objectexplorer::CallMethodDialog::initialize | ( | ) | [inline, private] |
Initialize the class.
References getJPanel2(), handleException(), and initConnections().
Referenced by CallMethodDialog().
| void si::ijs::acs::objectexplorer::CallMethodDialog::invokeClicked | ( | ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 7:17:28 PM)
References converter, si::ijs::acs::objectexplorer::engine::Converter::getInverseConvertParameterTypes(), si::ijs::acs::objectexplorer::engine::Operation::getMask(), si::ijs::acs::objectexplorer::engine::Operation::getName(), si::ijs::acs::objectexplorer::engine::Operation::getParameterTypes(), handleException(), index, si::ijs::acs::objectexplorer::engine::Converter::inverseConvert(), invocator, si::ijs::acs::objectexplorer::OperationInvocator::invokeOperation(), op, parameterFields, and readParameters().
Referenced by connEtoC1().
| static void si::ijs::acs::objectexplorer::CallMethodDialog::main | ( | java.lang.String[] | args | ) | [inline, static] |
main entrypoint - starts the part when it is run as an application
| args | java.lang.String[] |
References CallMethodDialog().
| Object [] si::ijs::acs::objectexplorer::CallMethodDialog::readParameters | ( | Class[] | types, | |
| boolean[] | mask, | |||
| Object[] | pFields | |||
| ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 7:28:44 PM)
References readSingleParameter().
Referenced by invokeClicked(), and readReadableType().
| Object si::ijs::acs::objectexplorer::CallMethodDialog::readReadableType | ( | Class | type | ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 8:29:22 PM)
References index, parameterFields, and readParameters().
Referenced by readSingleParameter().
| String [] si::ijs::acs::objectexplorer::CallMethodDialog::readRows | ( | String | str | ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 8:29:22 PM)
Referenced by arrayConvert().
| Object si::ijs::acs::objectexplorer::CallMethodDialog::readSingleParameter | ( | Class | type | ) | [inline, private] |
Insert the method's description here. Creation date: (11/22/00 1:42:28 PM)
References arrayConvert(), index, parameterFields, readReadableType(), and stringConvert().
Referenced by readParameters().
| static Object si::ijs::acs::objectexplorer::CallMethodDialog::stringConvert | ( | String | str, | |
| Class | type | |||
| ) | [inline, static] |
Insert the method's description here. Creation date: (11/14/00 8:29:22 PM)
Referenced by arrayConvert(), and readSingleParameter().
| void si::ijs::acs::objectexplorer::CallMethodDialog::unpackReadableType | ( | Class | type | ) | [inline, private] |
Insert the method's description here. Creation date: (11/14/00 8:29:22 PM)
References generateParameterFields(), getJPanel1(), getParameterCombo(), gridy, height, index, notifier, and si::ijs::acs::objectexplorer::NotificationBean::reportDebug().
Referenced by generateSingleField().
Converter si::ijs::acs::objectexplorer::CallMethodDialog::converter = null [private] |
Referenced by CallMethodDialog(), getJPanel2(), and invokeClicked().
int si::ijs::acs::objectexplorer::CallMethodDialog::gridy = 0 [private] |
Referenced by generateSingleField(), and unpackReadableType().
int si::ijs::acs::objectexplorer::CallMethodDialog::height = 0 [private] |
int si::ijs::acs::objectexplorer::CallMethodDialog::index = 0 [private] |
Referenced by generateSingleField(), invokeClicked(), readReadableType(), readSingleParameter(), and unpackReadableType().
Referenced by invokeClicked().
JLabel si::ijs::acs::objectexplorer::CallMethodDialog::ivjErrorLabel = null [private] |
Referenced by getErrorLabel().
IvjEventHandler si::ijs::acs::objectexplorer::CallMethodDialog::ivjEventHandler = new IvjEventHandler() [package] |
Referenced by initConnections().
JButton si::ijs::acs::objectexplorer::CallMethodDialog::ivjJButton1 = null [private] |
Referenced by getJButton1().
JButton si::ijs::acs::objectexplorer::CallMethodDialog::ivjJButton2 = null [private] |
Referenced by getJButton2().
JLabel si::ijs::acs::objectexplorer::CallMethodDialog::ivjJLabel1 = null [private] |
Referenced by getJLabel1().
JLabel si::ijs::acs::objectexplorer::CallMethodDialog::ivjJLabel2 = null [private] |
Referenced by getJLabel2().
JLabel si::ijs::acs::objectexplorer::CallMethodDialog::ivjJLabel3 = null [private] |
Referenced by getJLabel3().
JPanel si::ijs::acs::objectexplorer::CallMethodDialog::ivjJPanel1 = null [private] |
Referenced by getJPanel1().
JPanel si::ijs::acs::objectexplorer::CallMethodDialog::ivjJPanel2 = null [private] |
Referenced by getJPanel2().
NotificationBean si::ijs::acs::objectexplorer::CallMethodDialog::notifier = null [package] |
Referenced by handleException(), and unpackReadableType().
Operation si::ijs::acs::objectexplorer::CallMethodDialog::op = null [private] |
Referenced by getJPanel2(), and invokeClicked().
Object [] si::ijs::acs::objectexplorer::CallMethodDialog::parameterFields = new Object[20] [private] |
1.6.2