Class AbstractBeDataPanel

All Implemented Interfaces:
IEidFrontPanel, IEidPart, IPhotoRefreshPanel, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible
Direct Known Subclasses:
BeCitizen2016DataPanel, BeCitizen2019DataPanel, BeCitizenOriginalDataPanel, DefaultBackPanel, ForeignerDataPanel, OriginalBackPanel, V2019BackPanel

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

    • AbstractBeDataPanel

      public AbstractBeDataPanel(IEidDocumentType iEidDocumentType)
  • Method Details

    • getChipLabel

      protected abstract ScaledImageLabel getChipLabel()
    • getPhotoLabel

      protected abstract ScaledImageLabel getPhotoLabel()
    • getIEidDocumentType

      protected IEidDocumentType getIEidDocumentType()
    • initListeners

      protected void initListeners()
      Description copied from class: BrolPanel
      Method that allows to initialize listeners and bind them to already built GUI components when calling initGUI, or to bind actions (initialized in BrolPanel.initData()) to components such as buttons etc.
      This is also where the different menus are attached to the components.
      Overrides:
      initListeners in class BrolPanel
    • setLanguage

      public 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
    • 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