All Implemented Interfaces:
IEidFrontPanel, IEidPart, IPhotoRefreshPanel, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class ForeignerFrontPanel extends BrolPanel implements IEidFrontPanel
See Also:
Serialized Form
  • Constructor Details

    • ForeignerFrontPanel

      public ForeignerFrontPanel()
  • Method Details

    • main

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

      public void setIDData(be.belgium.eid.objects.IDData data)
      Specified by:
      setIDData in interface IEidFrontPanel
    • 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
    • getDataPanel

      protected ForeignerDataPanel getDataPanel()
    • 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
    • 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
    • getPanel

      public JPanel getPanel()
      Specified by:
      getPanel in interface IEidPart
    • 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
    • getBeIDPhoto

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