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 interfaceNested 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.DivElementprotected com.google.gwt.dom.client.ElementThe button bar.protected com.google.gwt.dom.client.ParagraphElementThe description element.protected com.google.gwt.dom.client.SpanElementThe locale cell.protected com.google.gwt.user.client.ui.FlowPanelThe button bar next to the path information.protected com.google.gwt.dom.client.SpanElementThe site host element.protected com.google.gwt.dom.client.HeadingElementThe title element.protected com.google.gwt.dom.client.DivElementThe type icon element.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddButtonTopRight(com.google.gwt.user.client.ui.Widget button) Adds a button to the top right of the info header.voidaddWidget(com.google.gwt.user.client.ui.Widget widget) com.google.gwt.user.client.ui.FlowPanelGets 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, setWidgetMethods 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, unsinkEventsMethods 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
-