|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.swt.widgets.Dialog
net.fenyo.gnetwatch.GUI.DialogHTTPOptions
public class DialogHTTPOptions
This class manages the "IP options" dialog.
| Field Summary | |
|---|---|
private int |
bglevel
|
private org.eclipse.swt.widgets.Composite |
bottom_composite
|
private org.eclipse.swt.layout.RowLayout |
bottom_composite_layout
|
private org.eclipse.swt.widgets.Group |
group_network_parameters
|
private org.eclipse.swt.layout.GridLayout |
group_network_parameters_layout
|
private org.eclipse.swt.widgets.Composite |
groups_composite
|
private org.eclipse.swt.layout.GridData |
groups_composite_grid_data
|
private org.eclipse.swt.layout.RowLayout |
groups_composite_layout
|
private GUI |
gui
|
(package private) org.eclipse.swt.widgets.Label |
label
|
(package private) org.eclipse.swt.widgets.Label |
label_port
|
private org.eclipse.swt.layout.GridLayout |
layout
|
private static Log |
log
|
private int |
nparallel
|
private java.lang.String |
proxy_host
|
private int |
proxy_port
|
private java.lang.String |
URL
|
private boolean |
use_proxy
|
| Constructor Summary | |
|---|---|
DialogHTTPOptions(GUI gui,
org.eclipse.swt.widgets.Shell parent)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getNParallel()
Returns the number of concurrent HTTP sessions. |
java.lang.String |
getProxyHost()
Gets the proxy name. |
int |
getProxyPort()
Gets the TCP proxy port. |
java.lang.String |
getURL()
Gets the URL to connect to. |
boolean |
getUseProxy()
Checks that we use a proxy. |
void |
open()
Displays the dialog. |
void |
setNParallel(int nparallel)
Sets the number of concurrent HTTP transactions. |
void |
setProxyHost(java.lang.String proxy_host)
Sets the proxy host name. |
void |
setProxyPort(int proxy_port)
Sets the proxy TCP port. |
void |
setURL(java.lang.String URL)
Sets the destination URL. |
void |
setUseProxy(boolean use_proxy)
Sets it to true to use a proxy. |
| Methods inherited from class org.eclipse.swt.widgets.Dialog |
|---|
checkSubclass, getParent, getStyle, getText, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Log log
private final GUI gui
private final int bglevel
private org.eclipse.swt.layout.GridLayout layout
private org.eclipse.swt.widgets.Composite groups_composite
private org.eclipse.swt.widgets.Composite bottom_composite
private org.eclipse.swt.layout.RowLayout groups_composite_layout
private org.eclipse.swt.layout.RowLayout bottom_composite_layout
private org.eclipse.swt.layout.GridData groups_composite_grid_data
private org.eclipse.swt.widgets.Group group_network_parameters
private org.eclipse.swt.layout.GridLayout group_network_parameters_layout
org.eclipse.swt.widgets.Label label
org.eclipse.swt.widgets.Label label_port
private boolean use_proxy
private java.lang.String proxy_host
private int proxy_port
private java.lang.String URL
private int nparallel
| Constructor Detail |
|---|
public DialogHTTPOptions(GUI gui,
org.eclipse.swt.widgets.Shell parent)
gui - current GUI instance.parent - parent shell.| Method Detail |
|---|
public boolean getUseProxy()
none. -
public java.lang.String getProxyHost()
none. -
public int getProxyPort()
none. -
public java.lang.String getURL()
none. -
public int getNParallel()
none. -
public void setUseProxy(boolean use_proxy)
use_proxy - true to use a proxy.public void setProxyHost(java.lang.String proxy_host)
proxy_host - proxy host name.public void setProxyPort(int proxy_port)
proxy_port - proxy TCP port.public void setURL(java.lang.String URL)
URL - destination URL.public void setNParallel(int nparallel)
nparallel - number of concurrent transactions.public void open()
none. -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||