jap
Class JAPConfAnonGeneral

java.lang.Object
  extended by jap.AbstractJAPConfModule
      extended by jap.JAPConfAnonGeneral
All Implemented Interfaces:
JAPHelpContext.IHelpContext, java.util.Observer

public final class JAPConfAnonGeneral
extends AbstractJAPConfModule
implements java.util.Observer


Nested Class Summary
 
Nested classes/interfaces inherited from class jap.AbstractJAPConfModule
AbstractJAPConfModule.FontSizeObserver
 
Field Summary
static int DEFAULT_DUMMY_TRAFFIC_INTERVAL_SECONDS
           
private static int DT_INTERVAL_DEFAULT
           
private static int DT_INTERVAL_MIN_STEP
           
private static int DT_INTERVAL_STEPLENGTH
           
private static int DT_INTERVAL_STEPS
           
private static java.lang.String IMG_ARROW_LEFT
           
private static java.lang.String IMG_ARROW_RIGHT
           
private static java.lang.Integer[] LOGIN_TIMEOUTS
           
private  javax.swing.JCheckBox m_cbAnonymizedHttpHeaders
           
private  javax.swing.JCheckBox m_cbAutoBlacklist
           
private  javax.swing.JCheckBox m_cbAutoChooseCascades
           
private  javax.swing.JCheckBox m_cbAutoChooseCascadesOnStartup
           
private  javax.swing.JCheckBox m_cbAutoConnect
           
private  javax.swing.JCheckBox m_cbAutoReConnect
           
private  javax.swing.JCheckBox m_cbDenyNonAnonymousSurfing
           
private  javax.swing.JComboBox m_comboTimeout
           
private  JAPController m_Controller
           
private  javax.swing.JSlider m_sliderDummyTrafficIntervall
           
private static java.lang.String MSG_ALLOWED_CASCADES
           
static java.lang.String MSG_ANONYMIZED_HTTP_HEADERS
           
private static java.lang.String MSG_AUTO_CHOOSE_CASCADES
           
private static java.lang.String MSG_AUTO_CHOOSE_ON_START
           
private static java.lang.String MSG_AUTO_CHOOSE_ON_STARTUP
           
static java.lang.String MSG_CONNECTION_TIMEOUT
           
static java.lang.String MSG_DENY_NON_ANONYMOUS_SURFING
           
private static java.lang.String MSG_DO_NOT_RESTRICT_AUTO_CHOOSE
           
private static java.lang.String MSG_EVERY_SECONDS
           
private static java.lang.String MSG_EXPLAIN_ASSIGN_SERVICES
           
private static java.lang.String MSG_EXPLAIN_ASSIGN_SERVICES_BETA
           
private static java.lang.String MSG_KNOWN_CASCADES
           
private static java.lang.String MSG_LBL_WHITELIST
           
private static java.lang.String MSG_PASSIVE_FTP
           
private static java.lang.String MSG_RESTRICT_AUTO_CHOOSE
           
private static java.lang.String MSG_RESTRICT_AUTO_CHOOSE_PAY
           
private static java.lang.String MSG_SERVICE_EMAIL
           
private static java.lang.String MSG_SERVICE_FTP
           
private static java.lang.String MSG_SERVICE_HTTP
           
private static java.lang.String MSG_SERVICE_SOCKS
           
private static java.lang.String MSG_TITLE_ASSIGN_SERVICES
           
private static java.lang.String MSG_TOOLTIP_SERVICE_DEACTIVATED
           
 
Fields inherited from class jap.AbstractJAPConfModule
LOCK_OBSERVABLE, m_savePoint
 
Constructor Summary
protected JAPConfAnonGeneral(IJAPConfSavePoint savePoint)
           
 
Method Summary
 java.lang.String getHelpContext()
           
 java.lang.String getTabTitle()
          This method must be implemented by the children of AbstractJAPConfModule and returns the title for this configuration tab.
protected  boolean initObservers()
          All observables that are observed by this object MUST be registered here.
protected  boolean onOkPressed()
          This method can be overwritten by the children of AbstractJAPConfModule.
 void onResetToDefaultsPressed()
          This method can be overwritten by the children of AbstractJAPConfModule.
protected  void onRootPanelShown()
          This method can be overwritten by the children of AbstractJAPConfModule.
protected  void onUpdateValues()
          This method can be overwritten by the children of AbstractJAPConfModule.
 void recreateRootPanel()
          This method must be implemented by the children of AbstractJAPConfModule.
private  void setLoginTimeout(int a_timeoutMS)
           
 void update(java.util.Observable a_notifier, java.lang.Object a_message)
           
 
Methods inherited from class jap.AbstractJAPConfModule
cancelPressed, createSavePoint, createTabbedRootPanelContraints, fontSizeChanged, getHelpExtractionDisplayContext, getRootPanel, okPressed, onCancelPressed, resetToDefaultsPressed, updateValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_CONNECTION_TIMEOUT

public static final java.lang.String MSG_CONNECTION_TIMEOUT

MSG_DENY_NON_ANONYMOUS_SURFING

public static final java.lang.String MSG_DENY_NON_ANONYMOUS_SURFING

MSG_ANONYMIZED_HTTP_HEADERS

public static final java.lang.String MSG_ANONYMIZED_HTTP_HEADERS

MSG_AUTO_CHOOSE_CASCADES

private static final java.lang.String MSG_AUTO_CHOOSE_CASCADES

MSG_RESTRICT_AUTO_CHOOSE

private static final java.lang.String MSG_RESTRICT_AUTO_CHOOSE

MSG_DO_NOT_RESTRICT_AUTO_CHOOSE

private static final java.lang.String MSG_DO_NOT_RESTRICT_AUTO_CHOOSE

MSG_RESTRICT_AUTO_CHOOSE_PAY

private static final java.lang.String MSG_RESTRICT_AUTO_CHOOSE_PAY

MSG_KNOWN_CASCADES

private static final java.lang.String MSG_KNOWN_CASCADES

MSG_ALLOWED_CASCADES

private static final java.lang.String MSG_ALLOWED_CASCADES

MSG_AUTO_CHOOSE_ON_START

private static final java.lang.String MSG_AUTO_CHOOSE_ON_START

MSG_TITLE_ASSIGN_SERVICES

private static final java.lang.String MSG_TITLE_ASSIGN_SERVICES

MSG_EXPLAIN_ASSIGN_SERVICES

private static final java.lang.String MSG_EXPLAIN_ASSIGN_SERVICES

MSG_EXPLAIN_ASSIGN_SERVICES_BETA

private static final java.lang.String MSG_EXPLAIN_ASSIGN_SERVICES_BETA

MSG_SERVICE_HTTP

private static final java.lang.String MSG_SERVICE_HTTP

MSG_SERVICE_FTP

private static final java.lang.String MSG_SERVICE_FTP

MSG_SERVICE_EMAIL

private static final java.lang.String MSG_SERVICE_EMAIL

MSG_SERVICE_SOCKS

private static final java.lang.String MSG_SERVICE_SOCKS

MSG_PASSIVE_FTP

private static final java.lang.String MSG_PASSIVE_FTP

MSG_TOOLTIP_SERVICE_DEACTIVATED

private static final java.lang.String MSG_TOOLTIP_SERVICE_DEACTIVATED

MSG_EVERY_SECONDS

private static final java.lang.String MSG_EVERY_SECONDS

MSG_LBL_WHITELIST

private static final java.lang.String MSG_LBL_WHITELIST

MSG_AUTO_CHOOSE_ON_STARTUP

private static final java.lang.String MSG_AUTO_CHOOSE_ON_STARTUP

IMG_ARROW_RIGHT

private static final java.lang.String IMG_ARROW_RIGHT

IMG_ARROW_LEFT

private static final java.lang.String IMG_ARROW_LEFT

DT_INTERVAL_STEPLENGTH

private static final int DT_INTERVAL_STEPLENGTH
See Also:
Constant Field Values

DT_INTERVAL_STEPS

private static final int DT_INTERVAL_STEPS
See Also:
Constant Field Values

DT_INTERVAL_DEFAULT

private static final int DT_INTERVAL_DEFAULT
See Also:
Constant Field Values

DT_INTERVAL_MIN_STEP

private static final int DT_INTERVAL_MIN_STEP
See Also:
Constant Field Values

DEFAULT_DUMMY_TRAFFIC_INTERVAL_SECONDS

public static final int DEFAULT_DUMMY_TRAFFIC_INTERVAL_SECONDS
See Also:
Constant Field Values

LOGIN_TIMEOUTS

private static final java.lang.Integer[] LOGIN_TIMEOUTS

m_cbDenyNonAnonymousSurfing

private javax.swing.JCheckBox m_cbDenyNonAnonymousSurfing

m_cbAnonymizedHttpHeaders

private javax.swing.JCheckBox m_cbAnonymizedHttpHeaders

m_cbAutoConnect

private javax.swing.JCheckBox m_cbAutoConnect

m_cbAutoReConnect

private javax.swing.JCheckBox m_cbAutoReConnect

m_cbAutoBlacklist

private javax.swing.JCheckBox m_cbAutoBlacklist

m_cbAutoChooseCascades

private javax.swing.JCheckBox m_cbAutoChooseCascades

m_cbAutoChooseCascadesOnStartup

private javax.swing.JCheckBox m_cbAutoChooseCascadesOnStartup

m_sliderDummyTrafficIntervall

private javax.swing.JSlider m_sliderDummyTrafficIntervall

m_Controller

private JAPController m_Controller

m_comboTimeout

private javax.swing.JComboBox m_comboTimeout
Constructor Detail

JAPConfAnonGeneral

protected JAPConfAnonGeneral(IJAPConfSavePoint savePoint)
Method Detail

initObservers

protected boolean initObservers()
Description copied from class: AbstractJAPConfModule
All observables that are observed by this object MUST be registered here. Subsequent calls of this method should not lead to additional registrations.

Overrides:
initObservers in class AbstractJAPConfModule

getTabTitle

public java.lang.String getTabTitle()
Description copied from class: AbstractJAPConfModule
This method must be implemented by the children of AbstractJAPConfModule and returns the title for this configuration tab.

Specified by:
getTabTitle in class AbstractJAPConfModule
Returns:
The title for this configuration tab.

update

public void update(java.util.Observable a_notifier,
                   java.lang.Object a_message)
Specified by:
update in interface java.util.Observer

onUpdateValues

protected void onUpdateValues()
Description copied from class: AbstractJAPConfModule
This method can be overwritten by the children of AbstractJAPConfModule. It is called every time the values of the model have changed and must be reread by the module. SHOULD NOT BE CALLED DIRECTLY in subclasses!!

Overrides:
onUpdateValues in class AbstractJAPConfModule

onOkPressed

protected boolean onOkPressed()
Description copied from class: AbstractJAPConfModule
This method can be overwritten by the children of AbstractJAPConfModule. It is called every time the user presses "OK" in the configuration dialog.

Overrides:
onOkPressed in class AbstractJAPConfModule

recreateRootPanel

public void recreateRootPanel()
Description copied from class: AbstractJAPConfModule
This method must be implemented by the children of AbstractJAPConfModule. It is called every time the root panel needs to be (re)created (e.g. the language has changed). This method is also called by the constructor of AbstractJAPConfModule after creating the root panel.

Specified by:
recreateRootPanel in class AbstractJAPConfModule

onResetToDefaultsPressed

public void onResetToDefaultsPressed()
Description copied from class: AbstractJAPConfModule
This method can be overwritten by the children of AbstractJAPConfModule. It is called every time the user presses "Reset to defaults" in the configuration dialog after the restoring of the default configuration from the savepoint (if there is a savepoint for this module).

Overrides:
onResetToDefaultsPressed in class AbstractJAPConfModule

getHelpContext

public java.lang.String getHelpContext()
Specified by:
getHelpContext in interface JAPHelpContext.IHelpContext

onRootPanelShown

protected void onRootPanelShown()
Description copied from class: AbstractJAPConfModule
This method can be overwritten by the children of AbstractJAPConfModule. It is called every time the root panel comes to the foreground (is set to visible).

Overrides:
onRootPanelShown in class AbstractJAPConfModule

setLoginTimeout

private void setLoginTimeout(int a_timeoutMS)