| |
|
| javax.swing.JDialog org.obe.client.XmlRpcConnectDialog
XmlRpcConnectDialog | public class XmlRpcConnectDialog extends JDialog (Code) | | Dialog for connecting to an XmlRpc server.
author: Anthony Eden |
Field Summary | |
final public static int | APPROVE_OPTION Return value when the user approves the connection. | final public static int | CANCEL_OPTION Return value when the user cancels the connection. |
Method Summary | |
public void | cancel() Method invoked when a user clicks on the "Cancel" button. | public void | connect() Method invoked when a user clicks on the "Connect" button. | public String | getHost() Get the host specified in the dialog. | public int | getPort() Get the post specified in the dialog. | public boolean | isPortEditable() Return true if the port is editable. | public void | setPortEditable(boolean portEditable) Set the port editable state. | public int | showDialog() Show the dialog as a modal dialog. |
APPROVE_OPTION | final public static int APPROVE_OPTION(Code) | | Return value when the user approves the connection.
|
CANCEL_OPTION | final public static int CANCEL_OPTION(Code) | | Return value when the user cancels the connection.
|
XmlRpcConnectDialog | public XmlRpcConnectDialog(String host, int port)(Code) | | Construct a new XmlRpcConnectDialog.
Parameters: host - The host name Parameters: port - The port number |
cancel | public void cancel()(Code) | | Method invoked when a user clicks on the "Cancel" button.
|
connect | public void connect()(Code) | | Method invoked when a user clicks on the "Connect" button.
|
getHost | public String getHost()(Code) | | Get the host specified in the dialog.
The host |
getPort | public int getPort()(Code) | | Get the post specified in the dialog.
The port |
isPortEditable | public boolean isPortEditable()(Code) | | Return true if the port is editable. The default is true.
True if the port is editable |
setPortEditable | public void setPortEditable(boolean portEditable)(Code) | | Set the port editable state.
Parameters: portEditable - The new state |
showDialog | public int showDialog()(Code) | | Show the dialog as a modal dialog.
The result code |
|
|
|