code: public void setLockIcon(LockIcon icon, String iconTitle) {
  
          if (m_lockIcon == null) {
              m_lockIcon = new HTML();
              m_lockIcon.addClickHandler(m_iconSuperClickHandler);
              m_contentPanel.add(m_lockIcon);
          }
          switch (icon) {
              case CLOSED:
                  m_lockIcon.setStyleName(
                      I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockIcon()
                          + " "
                          + I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockClosed());
                  break;
              case OPEN:
                  m_lockIcon.setStyleName(
                      I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockIcon()
                          + " "
                          + I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockOpen());
                  break;
              case SHARED_CLOSED:
                  m_lockIcon.setStyleName(
                      I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockIcon()
                          + " "
                          + I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockSharedClosed());
                  break;
              case SHARED_OPEN:
                  m_lockIcon.setStyleName(
                      I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockIcon()
                          + " "
                          + I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockSharedOpen());
                  break;
              case NONE:
              default:
                  m_lockIcon.setStyleName(I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().lockIcon());
          }
  
          m_lockIcon.setTitle(concatIconTitles(m_iconTitle, iconTitle));
          m_lockIcon.getElement().getStyle().setCursor(Style.Cursor.POINTER);
      }
docs: Sets the lock icon.<p>
  
  @param icon the icon to use
  @param iconTitle the icon title