Class CmsInfoHeader

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opencms.gwt.client.ui.CmsInfoHeader
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

public class CmsInfoHeader extends com.google.gwt.user.client.ui.Composite
Header info widget.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static interface 
     

    Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

    com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.google.gwt.dom.client.DivElement
     
    protected com.google.gwt.dom.client.Element
    The button bar.
    protected com.google.gwt.dom.client.ParagraphElement
    The description element.
    protected com.google.gwt.dom.client.SpanElement
    The locale cell.
    protected com.google.gwt.user.client.ui.FlowPanel
    The button bar next to the path information.
    protected com.google.gwt.dom.client.SpanElement
    The site host element.
    protected com.google.gwt.dom.client.HeadingElement
    The title element.
    protected com.google.gwt.dom.client.DivElement
    The type icon element.

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    CmsInfoHeader(String title, String description, String path, String locale, String typeIcon)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addButtonTopRight(com.google.gwt.user.client.ui.Widget button)
    Adds a button to the top right of the info header.
    void
    addWidget(com.google.gwt.user.client.ui.Widget widget)
     
    com.google.gwt.user.client.ui.FlowPanel
    Gets the button bar next to the path information.

    Methods inherited from class com.google.gwt.user.client.ui.Composite

    claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget

    Methods inherited from class com.google.gwt.user.client.ui.Widget

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents

    Methods inherited from class com.google.gwt.user.client.ui.UIObject

    addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • m_additionalWidgets

      @UiField protected com.google.gwt.dom.client.DivElement m_additionalWidgets
    • m_buttonBar

      @UiField protected com.google.gwt.dom.client.Element m_buttonBar
      The button bar.
    • m_description

      @UiField protected com.google.gwt.dom.client.ParagraphElement m_description
      The description element.
    • m_locale

      @UiField protected com.google.gwt.dom.client.SpanElement m_locale
      The locale cell.
    • m_pathButtons

      @UiField protected com.google.gwt.user.client.ui.FlowPanel m_pathButtons
      The button bar next to the path information.
    • m_siteHost

      @UiField protected com.google.gwt.dom.client.SpanElement m_siteHost
      The site host element.
    • m_title

      @UiField protected com.google.gwt.dom.client.HeadingElement m_title
      The title element.
    • m_typeIcon

      @UiField protected com.google.gwt.dom.client.DivElement m_typeIcon
      The type icon element.
  • Constructor Details

    • CmsInfoHeader

      public CmsInfoHeader(String title, String description, String path, String locale, String typeIcon)
      Constructor.

      Parameters:
      title - the title
      description - the description
      path - the path
      locale - the locale
      typeIcon - the type icon CSS class
  • Method Details

    • addButtonTopRight

      public void addButtonTopRight(com.google.gwt.user.client.ui.Widget button)
      Adds a button to the top right of the info header.

      Parameters:
      button - the button to add
    • addWidget

      public void addWidget(com.google.gwt.user.client.ui.Widget widget)
    • getPathButtons

      public com.google.gwt.user.client.ui.FlowPanel getPathButtons()
      Gets the button bar next to the path information.
      Returns:
      the button bar next to the path information