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
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, PASSWORD, RADIO, RANGEQBE, RESET, SCREEN, SOURCE_AUTO_ENTITY, SOURCE_AUTO_SERVICE, SOURCE_EXPLICIT, SUBMIT, TEXT, TEXTAREA, TEXTQBE
-
Constructor Summary
ConstructorDescriptionHyperlinkField
(ModelFormField modelFormField, String description, CommonWidgetModels.Link link, boolean alsoHidden) HyperlinkField
(Element element, ModelFormField modelFormField) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ModelFieldVisitor visitor) copy
(ModelFormField modelFormField) Returns a new instance of this object.boolean
Gets also hidden.getAlternate
(Map<String, Object> context) Gets alternate.Gets auto entity parameters.Gets auto service parameters.getConfirmation
(Map<String, Object> context) Gets confirmation.getConfirmationMsg
(Map<String, Object> context) Gets confirmation msg.Gets confirmation msg exdr.Gets description.getDescription
(Map<String, Object> context) Gets description.boolean
Gets encode.boolean
Gets full path.Gets height.Gets id.Gets id exdr.getImage()
Gets image.getImageLocation
(Map<String, Object> context) Gets image location.getImageTitle
(Map<String, Object> context) Gets image title.getLink()
Gets link.Gets link type.getName()
Gets name.Gets name.Gets name exdr.Gets parameter list.getParameterMap
(Map<String, Object> context) Gets parameter map.Gets parameter map.Gets prefix.Gets prefix exdr.boolean
Gets request confirmation.boolean
Gets secure.getSize()
Gets size.Gets style.Gets style exdr.Gets target.Gets target exdr.getTargetWindow
(Map<String, Object> context) Gets target window.Gets target window exdr.Gets text.Gets text exdr.getTitle()
Gets title.Gets url mode.getWidth()
Gets width.void
renderFieldString
(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) Methods inherited from class org.apache.ofbiz.widget.model.FieldInfo
findFieldTypeFromName, getFieldSource, getFieldType, getModelFormField, isInputFieldType, toString
-
Constructor Details
-
HyperlinkField
-
HyperlinkField
public HyperlinkField(ModelFormField modelFormField, String description, CommonWidgetModels.Link link, boolean alsoHidden)
-
-
Method Details
-
accept
-
copy
Description copied from class:FieldInfo
Returns a new instance of this object. -
getAlsoHidden
public boolean getAlsoHidden()Gets also hidden.- Returns:
- the also hidden
-
getConfirmation
Gets confirmation.- Parameters:
context
- the context- Returns:
- the confirmation
-
getAlternate
Gets alternate.- Parameters:
context
- the context- Returns:
- the alternate
-
getImageTitle
Gets image title.- Parameters:
context
- the context- Returns:
- the image title
-
getImageLocation
Gets image location.- Parameters:
context
- the context- Returns:
- the image location
-
getConfirmationMsg
Gets confirmation msg.- Parameters:
context
- the context- Returns:
- the confirmation msg
-
getConfirmationMsgExdr
Gets confirmation msg exdr.- Returns:
- the confirmation msg exdr
-
getDescription
Gets description.- Returns:
- the description
-
getDescription
Gets description.- Parameters:
context
- the context- Returns:
- the description
-
getRequestConfirmation
public boolean getRequestConfirmation()Gets request confirmation.- Returns:
- the request confirmation
-
getLink
Gets link.- Returns:
- the link
-
getAutoEntityParameters
Gets auto entity parameters.- Returns:
- the auto entity parameters
-
getAutoServiceParameters
Gets auto service parameters.- Returns:
- the auto service parameters
-
getEncode
public boolean getEncode()Gets encode.- Returns:
- the encode
-
getFullPath
public boolean getFullPath()Gets full path.- Returns:
- the full path
-
getHeight
Gets height.- Returns:
- the height
-
getId
Gets id.- Parameters:
context
- the context- Returns:
- the id
-
getIdExdr
Gets id exdr.- Returns:
- the id exdr
-
getTitle
Gets title.- Returns:
- the title
-
getImage
Gets image.- Returns:
- the image
-
getLinkType
Gets link type.- Returns:
- the link type
-
getName
Gets name.- Returns:
- the name
-
getName
Gets name.- Parameters:
context
- the context- Returns:
- the name
-
getNameExdr
Gets name exdr.- Returns:
- the name exdr
-
getParameterList
Gets parameter list.- Returns:
- the parameter list
-
getParameterMap
public Map<String,String> getParameterMap(Map<String, Object> context, String defaultEntityName, String defaultServiceName) Gets parameter map.- Parameters:
context
- the contextdefaultEntityName
- the default entity namedefaultServiceName
- the default service name- Returns:
- the parameter map
-
getParameterMap
Gets parameter map.- Parameters:
context
- the context- Returns:
- the parameter map
-
getPrefix
Gets prefix.- Parameters:
context
- the context- Returns:
- the prefix
-
getPrefixExdr
Gets prefix exdr.- Returns:
- the prefix exdr
-
getSecure
public boolean getSecure()Gets secure.- Returns:
- the secure
-
getSize
Gets size.- Returns:
- the size
-
getStyle
Gets style.- Parameters:
context
- the context- Returns:
- the style
-
getStyleExdr
Gets style exdr.- Returns:
- the style exdr
-
getTarget
Gets target.- Parameters:
context
- the context- Returns:
- the target
-
getTargetExdr
Gets target exdr.- Returns:
- the target exdr
-
getTargetWindow
Gets target window.- Parameters:
context
- the context- Returns:
- the target window
-
getTargetWindowExdr
Gets target window exdr.- Returns:
- the target window exdr
-
getText
Gets text.- Parameters:
context
- the context- Returns:
- the text
-
getTextExdr
Gets text exdr.- Returns:
- the text exdr
-
getUrlMode
Gets url mode.- Returns:
- the url mode
-
getWidth
Gets width.- Returns:
- the width
-
renderFieldString
public void renderFieldString(Appendable writer, Map<String, Object> context, FormStringRenderer formStringRenderer) throws IOException- Specified by:
renderFieldString
in classFieldInfo
- Throws:
IOException
-