Class BeCitizenFrontPanel

All Implemented Interfaces:
IEidFrontPanel, IEidPart, IPhotoRefreshPanel, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible
Direct Known Subclasses:
GenericFrontPanel, KidFrontPanel

public class BeCitizenFrontPanel extends BrolPanel implements IEidFrontPanel
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Constructor Details

    • BeCitizenFrontPanel

      public BeCitizenFrontPanel()
    • BeCitizenFrontPanel

      public BeCitizenFrontPanel(IEidDocumentType iEidDocumentType)
  • Method Details

    • initData

      protected void initData()
      Description copied from class: BrolPanel
      Method used to initialize certain data before building the various graphical components that will then be added to the panel, during the call to BrolPanel.initGUI().
      Overrides:
      initData in class BrolPanel
    • customizeGUI

      protected void customizeGUI()
      Description copied from class: BrolPanel
      Method used to adapt the various graphical components already present in the panel, after a call to BrolPanel.initGUI().
      Overrides:
      customizeGUI in class BrolPanel
    • setLanguage

      protected void setLanguage()
      Description copied from class: BrolPanel
      Method used to define the different texts or images according to a language. If this panel observes LanguageHelper, each time it changes, this method is called.
      For texts, it is possible to call the method BrolPanel.getString(String, String) to retrieve a text according to the default language
      Specified by:
      setLanguage in class BrolPanel
    • main

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

      protected void initGUI()
      Description copied from class: BrolPanel
      Method that places the various graphical components on the panel. This method is also used by jgloo to build the view.
      Specified by:
      initGUI in class BrolPanel
    • addVersionPanel

      protected void addVersionPanel(IEidFrontPanel fp, EidDocumentVersion version)
    • getDataPanel

      protected JPanel getDataPanel()
    • getPanel

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

      protected boolean usesVersion()
      If the class that extends this class does not support different physical versions of electronic identity card, it is necessary to override this method to return the value false
      Returns:
      true if we use different panels for versions
    • setEidColors

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

      public void forcePhotoRefresh()
      Description copied from interface: IPhotoRefreshPanel
      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.
      Specified by:
      forcePhotoRefresh in interface IPhotoRefreshPanel
    • setLoadAction

      public void setLoadAction(AbstractAction loadAction)
      Specified by:
      setLoadAction in interface IEidFrontPanel
    • setEidPhoto

      public void setEidPhoto(be.belgium.eid.objects.IDPhoto beIDPhoto)
      Specified by:
      setEidPhoto in interface IEidFrontPanel
    • clearEidPhoto

      public void clearEidPhoto()
      Specified by:
      clearEidPhoto in interface IEidFrontPanel
    • 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
    • setIDData

      public void setIDData(be.belgium.eid.objects.IDData beIDData)
      Specified by:
      setIDData in interface IEidFrontPanel
    • getBeIDPhoto

      public be.belgium.eid.objects.IDPhoto getBeIDPhoto()
      Specified by:
      getBeIDPhoto in interface IEidFrontPanel