Class ExtendedIdentityPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
be.gaudry.swing.eid.control.eidpart.ExtendedIdentityPanel
All Implemented Interfaces:
IEidPart, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class ExtendedIdentityPanel extends JPanel implements PropertyChangeListener, IEidPart
Since:
1.0 Jun 15, 2009
Author:
Steph GAUDRY TODO :rename to EidCrudPanel, extends BrolPanel
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • ExtendedIdentityPanel

      public ExtendedIdentityPanel()
  • Method Details

    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • forcePhotoRefresh

      public void forcePhotoRefresh()
      The photo container has a bug and sometimes need to be refreshed. invalidate() and other methods doesn't work. Thus, this method affects temporary the size to refresh the photo.
    • setEidColors

      public void setEidColors(IEidDocumentType iEidDocumentType, EidDocumentVersion version)
      Specified by:
      setEidColors in interface IEidPart
    • clearEidPhoto

      public void clearEidPhoto()
    • setEidPhoto

      public void setEidPhoto(byte[] photo)
    • setEidPhoto

      public void setEidPhoto(be.belgium.eid.objects.IDPhoto beIDPhoto)
    • getBeIDPhoto

      public final be.belgium.eid.objects.IDPhoto getBeIDPhoto()
    • setDataFile

      public void setDataFile(File f)
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • setLanguage

      protected void setLanguage()
    • setEidDocumentVersion

      public final void setEidDocumentVersion(EidDocumentVersion eidDocumentVersion)
    • setIDComplementaryFields

      public void setIDComplementaryFields(VirtualBeID virtualBeID)
    • setIDData

      public final void setIDData(be.belgium.eid.objects.IDData data)
    • setIDAddress

      public final void setIDAddress(be.belgium.eid.objects.IDAddress address)
    • clearData

      public void clearData()
      Description copied from interface: IEidPart
      Clear all EID data field (set textfields empty, reset photo and certificates, etc.).
      Specified by:
      clearData in interface IEidPart
    • view2Address

      void view2Address(Address addr)
      Allows to the other IEidParts to get data
    • view2BeIDPerson

      void view2BeIDPerson(BeIDPerson p)
      Allows to the other IEidParts to get data
    • getPanel

      public JPanel getPanel()
      Specified by:
      getPanel in interface IEidPart
    • viewToData

      public String viewToData(VirtualBeID virtualBeID)
    • main

      public static void main(String[] args)
      Auto-generated main method to display this JPanel inside a new JFrame.
    • getExtInfosjPanel

      public JPanel getExtInfosjPanel()
    • getCardTypeLabel

      public JLabel getCardTypeLabel()
    • getCardTypeComboBox

      public JComboBox<IEidDocumentType> getCardTypeComboBox()
    • getCardVersionLabel

      public JLabel getCardVersionLabel()
    • getCardVersionComboBox

      public JComboBox<EidDocumentVersion> getCardVersionComboBox()
    • getFileRadioButton

      public JRadioButton getFileRadioButton()
    • getDbRadioButton

      public JRadioButton getDbRadioButton()
    • getSaveInfoAndSelectionPanel

      public JPanel getSaveInfoAndSelectionPanel()
    • getRadioButtonsPanel

      public JPanel getRadioButtonsPanel()
    • getDataFileNameLabel

      public JLabel getDataFileNameLabel()
    • getDataFileNameTextField

      public JTextField getDataFileNameTextField()