Class CmsFieldsetFormFieldPanel
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.CmsFieldsetFormFieldPanel
- 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:
CmsElementSettingsDialog.FieldPanel
Form field panel which puts its form fields into a field set, and also displays a resource info box.
-
Nested Class Summary
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
Modifier and TypeFieldDescriptionprotected List<I_CmsFormField>
The list of form fields.static String
Text metrics key for the info box.Fields inherited from class org.opencms.gwt.client.ui.input.form.A_CmsFormFieldPanel
m_infoWidget, NO_DESCRIPTION
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
ConstructorDescriptionCmsFieldsetFormFieldPanel
(org.opencms.gwt.shared.CmsListInfoBean info, String legend) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addGroupFieldSet
(String group, CmsFieldSet fieldSet) Adds a group specific field set.Returns the default group name.Returns the main field set.com.google.gwt.user.client.ui.FlowPanel
Gets the main panel.void
renderFields
(Collection<I_CmsFormField> fields) Renders a collection of fields.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 Details
-
TM_INFOBOX
Text metrics key for the info box. -
m_fields
The list of form fields.
-
-
Constructor Details
-
Method Details
-
addGroupFieldSet
Adds a group specific field set.- Parameters:
group
- the group idfieldSet
- the field set
-
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:
-
getFieldSet
Returns the main field set.- Returns:
- the main field set
-
getMainPanel
Gets the main panel.- Returns:
- the main panel
-
renderFields
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:
-