public static enum ProxyPreferencesPanel.ProxyPolicy extends Enum<ProxyPreferencesPanel.ProxyPolicy>
| Enum Constant and Description |
|---|
NO_PROXY |
USE_HTTP_PROXY |
USE_SOCKS_PROXY |
USE_SYSTEM_SETTINGS |
| Modifier and Type | Field and Description |
|---|---|
private String |
policyName |
| Modifier and Type | Method and Description |
|---|---|
static ProxyPreferencesPanel.ProxyPolicy |
fromName(String policyName) |
String |
getName() |
static ProxyPreferencesPanel.ProxyPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyPreferencesPanel.ProxyPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyPreferencesPanel.ProxyPolicy NO_PROXY
public static final ProxyPreferencesPanel.ProxyPolicy USE_SYSTEM_SETTINGS
public static final ProxyPreferencesPanel.ProxyPolicy USE_HTTP_PROXY
public static final ProxyPreferencesPanel.ProxyPolicy USE_SOCKS_PROXY
private String policyName
public static ProxyPreferencesPanel.ProxyPolicy[] values()
for (ProxyPreferencesPanel.ProxyPolicy c : ProxyPreferencesPanel.ProxyPolicy.values()) System.out.println(c);
public static ProxyPreferencesPanel.ProxyPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ProxyPreferencesPanel.ProxyPolicy fromName(String policyName)