jap
Class JAPConfCert

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

final class JAPConfCert
extends AbstractJAPConfModule
implements java.util.Observer

This is the configuration GUI for the cert.


Nested Class Summary
 
Nested classes/interfaces inherited from class jap.AbstractJAPConfModule
AbstractJAPConfModule.FontSizeObserver
 
Field Summary
private  boolean m_bDoNotUpdate
           
private  javax.swing.border.TitledBorder m_borderCert
           
private  javax.swing.JButton m_bttnCertDetails
           
private  javax.swing.JButton m_bttnCertInsert
           
private  javax.swing.JButton m_bttnCertRemove
           
private  javax.swing.JButton m_bttnCertStatus
           
private  javax.swing.JCheckBox m_cbCertCheckEnabled
           
private  java.util.Vector m_deletedCerts
           
private  java.util.Enumeration m_enumCerts
           
private  javax.swing.JList m_listCert
           
private  javax.swing.DefaultListModel m_listmodelCertList
           
private  javax.swing.JPanel m_panelCAList
           
private  javax.swing.JScrollPane m_scrpaneList
           
private  CertDetailsDialog.CertShortInfoPanel m_shortInfoPanel
           
private static java.lang.String MSG_DETAILS
           
static java.lang.String MSG_NO_CHECK_WARNING
           
 
Fields inherited from class jap.AbstractJAPConfModule
LOCK_OBSERVABLE, m_savePoint
 
Constructor Summary
JAPConfCert()
           
 
Method Summary
private  javax.swing.JPanel createCALabel()
           
private  javax.swing.JPanel createCertCAPanel()
           
 java.lang.String getHelpContext()
           
 java.lang.String getTabTitle()
          Returns the title for the cert configuration tab.
protected  boolean initObservers()
          All observables that are observed by this object MUST be registered here.
protected  void onCancelPressed()
          This method can be overwritten by the children of AbstractJAPConfModule.
protected  boolean onOkPressed()
          This method can be overwritten by the children of AbstractJAPConfModule.
protected  void onResetToDefaultsPressed()
          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()
          Creates the cert root panel with all child-panels.
 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, onRootPanelShown, resetToDefaultsPressed, updateValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_NO_CHECK_WARNING

public static final java.lang.String MSG_NO_CHECK_WARNING

MSG_DETAILS

private static final java.lang.String MSG_DETAILS

m_borderCert

private javax.swing.border.TitledBorder m_borderCert

m_shortInfoPanel

private CertDetailsDialog.CertShortInfoPanel m_shortInfoPanel

m_bttnCertInsert

private javax.swing.JButton m_bttnCertInsert

m_bttnCertRemove

private javax.swing.JButton m_bttnCertRemove

m_bttnCertStatus

private javax.swing.JButton m_bttnCertStatus

m_bttnCertDetails

private javax.swing.JButton m_bttnCertDetails

m_listmodelCertList

private javax.swing.DefaultListModel m_listmodelCertList

m_listCert

private javax.swing.JList m_listCert

m_scrpaneList

private javax.swing.JScrollPane m_scrpaneList

m_enumCerts

private java.util.Enumeration m_enumCerts

m_cbCertCheckEnabled

private javax.swing.JCheckBox m_cbCertCheckEnabled

m_panelCAList

private javax.swing.JPanel m_panelCAList

m_deletedCerts

private java.util.Vector m_deletedCerts

m_bDoNotUpdate

private boolean m_bDoNotUpdate
Constructor Detail

JAPConfCert

public JAPConfCert()
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()
Creates the cert root panel with all child-panels.

Specified by:
recreateRootPanel in class AbstractJAPConfModule

getTabTitle

public java.lang.String getTabTitle()
Returns the title for the cert configuration tab.

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

createCALabel

private javax.swing.JPanel createCALabel()

createCertCAPanel

private javax.swing.JPanel createCertCAPanel()

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

onCancelPressed

protected void onCancelPressed()
Description copied from class: AbstractJAPConfModule
This method can be overwritten by the children of AbstractJAPConfModule. It is called every time the user presses "Cancel" in the configuration dialog after the restoring of the savepoint data (if there is a savepoint for this module).

Overrides:
onCancelPressed in class AbstractJAPConfModule

onResetToDefaultsPressed

protected 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