jap
Class JAPConfUpdate

java.lang.Object
  extended by jap.AbstractJAPConfModule
      extended by jap.JAPConfUpdate
All Implemented Interfaces:
JAPHelpContext.IHelpContext, java.awt.event.ActionListener, java.awt.event.ItemListener, java.lang.Runnable, java.util.EventListener, java.util.Observer

final class JAPConfUpdate
extends AbstractJAPConfModule
implements java.awt.event.ActionListener, java.awt.event.ItemListener, java.lang.Runnable, java.util.Observer


Nested Class Summary
 
Nested classes/interfaces inherited from class jap.AbstractJAPConfModule
AbstractJAPConfModule.FontSizeObserver
 
Field Summary
private static java.lang.String COMMAND_CHECKFORUPGRADE
           
private static java.lang.String COMMAND_UPGRADE
           
private  javax.swing.JButton m_bttnCheckForUpgrade
           
private  javax.swing.JButton m_bttnUpgrade
           
private  javax.swing.JCheckBox m_cbxRemindJavaUpdate
           
private  javax.swing.JCheckBox m_cbxRemindOptionalUpdate
           
private  javax.swing.JComboBox m_comboAnonymousConnection
           
private  javax.swing.JComboBox m_comboType
           
private  java.text.DateFormat m_DateFormat
           
private  JAPVersionInfo m_devVersion
           
private  javax.swing.JLabel m_labelDate
           
private  javax.swing.JLabel m_labelVersion
           
private  JAPVersionInfo m_releaseVersion
           
private  javax.swing.JTextArea m_taInfo
           
private  javax.swing.JScrollPane m_taInfoScrollPane
           
private  java.lang.Thread m_threadGetVersionInfo
           
private static java.lang.String MSG_ALLOW_DIRECT_CONN
           
private static java.lang.String MSG_INFO
           
private static java.lang.String MSG_REMIND_JAVA_UPDATE
           
private static java.lang.String MSG_REMIND_OPTIONAL_UPDATE
           
 
Fields inherited from class jap.AbstractJAPConfModule
LOCK_OBSERVABLE, m_savePoint
 
Constructor Summary
JAPConfUpdate()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 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.
 void itemStateChanged(java.awt.event.ItemEvent e)
           
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.
 void run()
           
 void update(java.util.Observable a_notifier, java.lang.Object a_message)
           
 void updateVersionInfo(boolean a_bFetchUpdateFromIS)
           
 
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

COMMAND_UPGRADE

private static final java.lang.String COMMAND_UPGRADE
See Also:
Constant Field Values

COMMAND_CHECKFORUPGRADE

private static final java.lang.String COMMAND_CHECKFORUPGRADE
See Also:
Constant Field Values

MSG_ALLOW_DIRECT_CONN

private static final java.lang.String MSG_ALLOW_DIRECT_CONN

MSG_REMIND_OPTIONAL_UPDATE

private static final java.lang.String MSG_REMIND_OPTIONAL_UPDATE

MSG_REMIND_JAVA_UPDATE

private static final java.lang.String MSG_REMIND_JAVA_UPDATE

MSG_INFO

private static final java.lang.String MSG_INFO

m_taInfo

private javax.swing.JTextArea m_taInfo

m_taInfoScrollPane

private javax.swing.JScrollPane m_taInfoScrollPane

m_labelVersion

private javax.swing.JLabel m_labelVersion

m_labelDate

private javax.swing.JLabel m_labelDate

m_comboType

private javax.swing.JComboBox m_comboType

m_bttnUpgrade

private javax.swing.JButton m_bttnUpgrade

m_bttnCheckForUpgrade

private javax.swing.JButton m_bttnCheckForUpgrade

m_comboAnonymousConnection

private javax.swing.JComboBox m_comboAnonymousConnection

m_cbxRemindOptionalUpdate

private javax.swing.JCheckBox m_cbxRemindOptionalUpdate

m_cbxRemindJavaUpdate

private javax.swing.JCheckBox m_cbxRemindJavaUpdate

m_threadGetVersionInfo

private java.lang.Thread m_threadGetVersionInfo

m_devVersion

private JAPVersionInfo m_devVersion

m_releaseVersion

private JAPVersionInfo m_releaseVersion

m_DateFormat

private java.text.DateFormat m_DateFormat
Constructor Detail

JAPConfUpdate

public JAPConfUpdate()
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

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

update

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

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

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

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

run

public void run()
Specified by:
run in interface java.lang.Runnable

updateVersionInfo

public void updateVersionInfo(boolean a_bFetchUpdateFromIS)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

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.

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