public class XFooter extends Object implements IXItemAppendable
Constructor and Description |
---|
XFooter() |
Modifier and Type | Method and Description |
---|---|
ArrayList<XItemPropertyDesc> |
getAvailableProperties(Locale locale) |
String |
getIcon() |
String |
getPrefix()
Finds the prefix for form items of this type, such as
cb for checkboxes or tf for input fields. |
boolean |
isSubmitsValues()
Checks whether form items of this type can send values to the server when the form is submitted.
|
void |
renderItem(com.hp.gagawa.java.elements.Div container,
XItemRenderData renderData,
XItemRenderCtx renderCtx,
IXFormRenderContext formRenderCtx)
Creates the HTML for this form item that is included in the final rendered form.
|
void |
renderItemPreview(com.hp.gagawa.java.elements.Div container,
XItemRenderData renderData,
XItemRenderCtx renderCtx,
IXFormRenderContext formRenderCtx)
Similar to the
IXItemBasic.renderItem(Div, XItemRenderData, XItemRenderCtx, IXFormRenderContext) method, but this is
called when the form is viewed in the designer. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAutoReRender, validate, validate, validateGlobal
public ArrayList<XItemPropertyDesc> getAvailableProperties(Locale locale)
getAvailableProperties
in interface IXItemBasic
locale
- The current locale that can be used for locale dependent properties.public String getIcon()
getIcon
in interface IXItemBasic
ico-fc-XCheckbox
.public String getPrefix()
IXItemBasic
cb
for checkboxes or tf
for input fields.
This prefix is used, for example, in the designer to generate a default name for newly added form items
(tf-1
, cb-2
).getPrefix
in interface IXItemBasic
public boolean isSubmitsValues()
IXItemBasic
isSubmitsValues
in interface IXItemBasic
public void renderItem(com.hp.gagawa.java.elements.Div container, XItemRenderData renderData, XItemRenderCtx renderCtx, IXFormRenderContext formRenderCtx)
IXItemBasic
renderItem
in interface IXItemBasic
container
- The container that will contain this form item in the final form. You should append children to
this container.renderData
- The current render data with the properties and options of the item.renderCtx
- The current render context giving you access to the global configuration.formRenderCtx
- The form render context giving you access to the global form configuration.IXItemBasic.renderItemPreview(Div, XItemRenderData, XItemRenderCtx, IXFormRenderContext)
public void renderItemPreview(com.hp.gagawa.java.elements.Div container, XItemRenderData renderData, XItemRenderCtx renderCtx, IXFormRenderContext formRenderCtx)
IXItemBasic
IXItemBasic.renderItem(Div, XItemRenderData, XItemRenderCtx, IXFormRenderContext)
method, but this is
called when the form is viewed in the designer. You can, if necessary, render the form slightly differently in the
desigern. This is useful, for example, when when you do not want users to be able to interact with the form element
directly in the designer preview area.renderItemPreview
in interface IXItemBasic
container
- The container that will contain this form item in the final form. You should append children to
this container.renderData
- The current render data with the properties and options of the item.renderCtx
- The current render context giving you access to the global configuration.formRenderCtx
- The form render context giving you access to the global form configuration.IXItemBasic.renderItem(Div, XItemRenderData, XItemRenderCtx, IXFormRenderContext)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.