Package org.apache.ofbiz.widget.model
Class ModelFormField.HyperlinkField
- java.lang.Object
-
- org.apache.ofbiz.widget.model.FieldInfo
-
- org.apache.ofbiz.widget.model.ModelFormField.HyperlinkField
-
- Enclosing class:
- ModelFormField
public static class ModelFormField.HyperlinkField extends FieldInfo
Models the <hyperlink> element.- See Also:
widget-form.xsd
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.widget.model.FieldInfo
CHECK, CONTAINER, DATE_TIME, DATEQBE, DISPLAY, DISPLAY_ENTITY, DROP_DOWN, FILE, FORM, GRID, HIDDEN, HYPERLINK, IGNORED, IMAGE, LOOKUP, MENU, module, PASSWORD, RADIO, RANGEQBE, RESET, SCREEN, SOURCE_AUTO_ENTITY, SOURCE_AUTO_SERVICE, SOURCE_EXPLICIT, SUBMIT, TEXT, TEXTAREA, TEXTQBE
-
-
Constructor Summary
Constructors Constructor Description HyperlinkField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelFieldVisitor visitor)
FieldInfo
copy(ModelFormField modelFormField)
Returns a new instance of this object.boolean
getAlsoHidden()
java.lang.String
getAlternate(java.util.Map<java.lang.String,java.lang.Object> context)
CommonWidgetModels.AutoEntityParameters
getAutoEntityParameters()
CommonWidgetModels.AutoServiceParameters
getAutoServiceParameters()
java.lang.String
getConfirmation(java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getConfirmationMsg(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getConfirmationMsgExdr()
FlexibleStringExpander
getDescription()
java.lang.String
getDescription(java.util.Map<java.lang.String,java.lang.Object> context)
boolean
getEncode()
boolean
getFullPath()
java.lang.String
getHeight()
java.lang.String
getId(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getIdExdr()
CommonWidgetModels.Image
getImage()
java.lang.String
getImageLocation(java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getImageTitle(java.util.Map<java.lang.String,java.lang.Object> context)
CommonWidgetModels.Link
getLink()
java.lang.String
getLinkType()
java.lang.String
getName()
java.lang.String
getName(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getNameExdr()
java.util.List<CommonWidgetModels.Parameter>
getParameterList()
java.util.Map<java.lang.String,java.lang.String>
getParameterMap(java.util.Map<java.lang.String,java.lang.Object> context)
java.util.Map<java.lang.String,java.lang.String>
getParameterMap(java.util.Map<java.lang.String,java.lang.Object> context, java.lang.String defaultEntityName, java.lang.String defaultServiceName)
java.lang.String
getPrefix(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getPrefixExdr()
boolean
getRequestConfirmation()
boolean
getSecure()
java.lang.Integer
getSize()
java.lang.String
getStyle(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getStyleExdr()
java.lang.String
getTarget(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getTargetExdr()
java.lang.String
getTargetWindow(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getTargetWindowExdr()
java.lang.String
getText(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleStringExpander
getTextExdr()
java.lang.String
getUrlMode()
java.lang.String
getWidth()
void
renderFieldString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, FormStringRenderer formStringRenderer)
-
Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
-
-
-
Constructor Detail
-
HyperlinkField
public HyperlinkField(org.w3c.dom.Element element, ModelFormField modelFormField)
-
-
Method Detail
-
accept
public void accept(ModelFieldVisitor visitor) throws java.lang.Exception
-
copy
public FieldInfo copy(ModelFormField modelFormField)
Description copied from class:FieldInfo
Returns a new instance of this object.
-
getAlsoHidden
public boolean getAlsoHidden()
-
getConfirmation
public java.lang.String getConfirmation(java.util.Map<java.lang.String,java.lang.Object> context)
-
getAlternate
public java.lang.String getAlternate(java.util.Map<java.lang.String,java.lang.Object> context)
-
getImageTitle
public java.lang.String getImageTitle(java.util.Map<java.lang.String,java.lang.Object> context)
-
getImageLocation
public java.lang.String getImageLocation(java.util.Map<java.lang.String,java.lang.Object> context)
-
getConfirmationMsg
public java.lang.String getConfirmationMsg(java.util.Map<java.lang.String,java.lang.Object> context)
-
getConfirmationMsgExdr
public FlexibleStringExpander getConfirmationMsgExdr()
-
getDescription
public FlexibleStringExpander getDescription()
-
getDescription
public java.lang.String getDescription(java.util.Map<java.lang.String,java.lang.Object> context)
-
getRequestConfirmation
public boolean getRequestConfirmation()
-
getLink
public CommonWidgetModels.Link getLink()
-
getAutoEntityParameters
public CommonWidgetModels.AutoEntityParameters getAutoEntityParameters()
-
getAutoServiceParameters
public CommonWidgetModels.AutoServiceParameters getAutoServiceParameters()
-
getEncode
public boolean getEncode()
-
getFullPath
public boolean getFullPath()
-
getHeight
public java.lang.String getHeight()
-
getId
public java.lang.String getId(java.util.Map<java.lang.String,java.lang.Object> context)
-
getIdExdr
public FlexibleStringExpander getIdExdr()
-
getImage
public CommonWidgetModels.Image getImage()
-
getLinkType
public java.lang.String getLinkType()
-
getName
public java.lang.String getName()
-
getName
public java.lang.String getName(java.util.Map<java.lang.String,java.lang.Object> context)
-
getNameExdr
public FlexibleStringExpander getNameExdr()
-
getParameterList
public java.util.List<CommonWidgetModels.Parameter> getParameterList()
-
getParameterMap
public java.util.Map<java.lang.String,java.lang.String> getParameterMap(java.util.Map<java.lang.String,java.lang.Object> context, java.lang.String defaultEntityName, java.lang.String defaultServiceName)
-
getParameterMap
public java.util.Map<java.lang.String,java.lang.String> getParameterMap(java.util.Map<java.lang.String,java.lang.Object> context)
-
getPrefix
public java.lang.String getPrefix(java.util.Map<java.lang.String,java.lang.Object> context)
-
getPrefixExdr
public FlexibleStringExpander getPrefixExdr()
-
getSecure
public boolean getSecure()
-
getSize
public java.lang.Integer getSize()
-
getStyle
public java.lang.String getStyle(java.util.Map<java.lang.String,java.lang.Object> context)
-
getStyleExdr
public FlexibleStringExpander getStyleExdr()
-
getTarget
public java.lang.String getTarget(java.util.Map<java.lang.String,java.lang.Object> context)
-
getTargetExdr
public FlexibleStringExpander getTargetExdr()
-
getTargetWindow
public java.lang.String getTargetWindow(java.util.Map<java.lang.String,java.lang.Object> context)
-
getTargetWindowExdr
public FlexibleStringExpander getTargetWindowExdr()
-
getText
public java.lang.String getText(java.util.Map<java.lang.String,java.lang.Object> context)
-
getTextExdr
public FlexibleStringExpander getTextExdr()
-
getUrlMode
public java.lang.String getUrlMode()
-
getWidth
public java.lang.String getWidth()
-
renderFieldString
public void renderFieldString(java.lang.Appendable writer, java.util.Map<java.lang.String,java.lang.Object> context, FormStringRenderer formStringRenderer) throws java.io.IOException
- Specified by:
renderFieldString
in classFieldInfo
- Throws:
java.io.IOException
-
-