Class CmsInfoBoxFormFieldPanel
- 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.input.form.A_CmsFormFieldPanel
-
- org.opencms.gwt.client.ui.input.form.CmsInfoBoxFormFieldPanel
-
- 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
- Direct Known Subclasses:
CmsAttributesDialog.FieldPanel
public class CmsInfoBoxFormFieldPanel extends A_CmsFormFieldPanel
Form field panel for the sitemap entry editor in the navigation mode.- Since:
- 8.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<I_CmsFormField>
m_fields
The list of form fields.static java.lang.String
TM_INFOBOX
Text metrics key for the info box.-
Fields inherited from class org.opencms.gwt.client.ui.input.form.A_CmsFormFieldPanel
m_infoWidget, NO_DESCRIPTION
-
-
Constructor Summary
Constructors Constructor Description CmsInfoBoxFormFieldPanel(org.opencms.gwt.shared.CmsListInfoBean info)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addWidgetAfterListInfo(com.google.gwt.user.client.ui.Widget widget)
Adds another widget after the list info widget.java.lang.String
getDefaultGroup()
Returns the default group name.void
renderFields(java.util.Collection<I_CmsFormField> fields)
Renders a collection of fields.void
truncate(java.lang.String textMetricsKey, int clientWidth)
-
Methods inherited from class org.opencms.gwt.client.ui.input.form.A_CmsFormFieldPanel
createRow, createRow, createRow, getInfoWidget, rerenderFields, setBorder
-
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 Detail
-
TM_INFOBOX
public static java.lang.String TM_INFOBOX
Text metrics key for the info box.
-
m_fields
protected java.util.List<I_CmsFormField> m_fields
The list of form fields.
-
-
Constructor Detail
-
CmsInfoBoxFormFieldPanel
public CmsInfoBoxFormFieldPanel(org.opencms.gwt.shared.CmsListInfoBean info)
Creates a new instance.- Parameters:
info
- the bean used to display the info item
-
-
Method Detail
-
addWidgetAfterListInfo
public void addWidgetAfterListInfo(com.google.gwt.user.client.ui.Widget widget)
Adds another widget after the list info widget.- Parameters:
widget
- the widget to add
-
getDefaultGroup
public java.lang.String getDefaultGroup()
Description copied from class:A_CmsFormFieldPanel
Returns the default group name.- Specified by:
getDefaultGroup
in classA_CmsFormFieldPanel
- Returns:
- the default group name
- See Also:
A_CmsFormFieldPanel.getDefaultGroup()
-
renderFields
public void renderFields(java.util.Collection<I_CmsFormField> fields)
Description copied from class:A_CmsFormFieldPanel
Renders a collection of fields.This should only be called once, when the form is being built.
- Specified by:
renderFields
in classA_CmsFormFieldPanel
- Parameters:
fields
- the fields to render- See Also:
A_CmsFormFieldPanel.renderFields(java.util.Collection)
-
truncate
public void truncate(java.lang.String textMetricsKey, int clientWidth)
-
-