code: protected void init(CmsListInfoBean infoBean) {
  
          m_iconPanel.setVisible(false);
          m_title.setText(infoBean.getTitle());
          setSubtitleLabel(infoBean.getSubTitle());
  
          // set the resource type icon if present
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(infoBean.getBigIconClasses())) {
              setIcon(infoBean.getBigIconClasses(), infoBean.getSmallIconClasses());
          }
  
          if (infoBean.getStateIcon() != null) {
              setStateIcon(infoBean.getStateIcon());
          }
          if (infoBean.getLockIcon() != null) {
              setLockIcon(infoBean.getLockIcon(), infoBean.getLockIconTitle());
          }
  
          CmsResourceState resourceState = infoBean.getResourceState();
  
          if ((resourceState != null) && !resourceState.isUnchanged() && infoBean.isMarkChangedState()) {
              String title = Messages.get().key(Messages.GUI_UNPUBLISHED_CHANGES_TITLE_0);
              if (resourceState.isNew()) {
                  title = Messages.get().key(Messages.GUI_UNPUBLISHED_CHANGES_NEW_TITLE_0);
              }
              setTopRightIcon(I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().changed(), title);
          }
  
          if ((resourceState != null) && resourceState.isDeleted()) {
              m_title.addStyleName(I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().titleDeleted());
          }
  
          initAdditionalInfo(infoBean);
      }
docs: Constructor.<p>
  
  @param infoBean bean holding the item information