Package org.opencms.gwt.client.ui
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
Header info widget.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected 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
FieldsModifier and TypeFieldDescriptionprotected 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
m_additionalWidgets
-
m_buttonBar
The button bar. -
m_description
The description element. -
m_locale
The locale cell. -
m_pathButtons
The button bar next to the path information. -
m_siteHost
The site host element. -
m_title
The title element. -
m_typeIcon
The type icon element.
-
-
Constructor Details
-
CmsInfoHeader
Constructor.- Parameters:
title
- the titledescription
- the descriptionpath
- the pathlocale
- the localetypeIcon
- the type icon CSS class
-
-
Method Details
-
addButtonTopRight
Adds a button to the top right of the info header.- Parameters:
button
- the button to add
-
addWidget
-
getPathButtons
Gets the button bar next to the path information.- Returns:
- the button bar next to the path information
-