public interface IXItemWidget extends IXItem
Modifier and Type | Interface and Description |
---|---|
static class |
IXItemWidget.Resource |
Modifier and Type | Method and Description |
---|---|
default String |
getCssData() |
default String |
getCssPath() |
default String |
getCssResourceURL() |
default String |
getIcon() |
default String |
getJavaScriptData() |
default String |
getJavaScriptPath() |
default String |
getJavaScriptResourceURL() |
String |
getLabel() |
default InputStream |
getResource(String path) |
default String |
getResourceAsString(String path) |
default 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. |
getAutoReRender, getAvailableProperties, getPrefix, isSubmitsValues, renderItem, validate, validate, validateGlobal
String getLabel()
default String getIcon()
getIcon
in interface IXItemBasic
ico-fc-XCheckbox
.default String getJavaScriptResourceURL()
default String getCssResourceURL()
default String getJavaScriptPath()
default String getCssPath()
default InputStream getResource(String path)
default String getJavaScriptData()
default String getCssData()
default 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.