public class AddRecordLink extends StorageBaseFormAction implements ILink
The add fields come from the database schema.
parameters / attributes will build the html attributes needed for display.
CHILD, CONTENT| Constructor and Description |
|---|
AddRecordLink() |
| Modifier and Type | Method and Description |
|---|---|
Html |
buildLink(IExecContext execContext,
Theme theme,
java.lang.String rowId) |
Html |
draw(IExecContext execContext,
Theme theme) |
java.lang.String |
execute(IExecContext execContext)
Executes an action
|
java.lang.String |
getBorder()
width of border if using an image
|
java.lang.String |
getDisplay_as() |
Field |
getField() |
java.util.List<Field> |
getFields() |
java.lang.String |
getHeader_name() |
java.lang.String |
getHref() |
java.lang.String |
getId() |
java.lang.String |
getImage_height()
may want to specify the height image
|
java.lang.String |
getImage_pos()
if there is text this can be used to set the position of the image on the left or the right of the text.
|
java.lang.String |
getImage_width()
may want to specify the width of the link.button
|
java.lang.String |
getImage()
can also display an image as part of the link
|
java.lang.String |
getPresentation_name() |
java.lang.String |
getTooltip() |
java.lang.String |
getUri() |
void |
setBorder(java.lang.String border)
width of border if using an image
|
void |
setDisplay_as(java.lang.String display_as) |
void |
setField(Field field) |
void |
setHeader_name(java.lang.String header_name) |
void |
setHref(java.lang.String href) |
void |
setId(java.lang.String id) |
void |
setImage_height(java.lang.String image_height)
may want to specify the height image
|
void |
setImage_pos(java.lang.String image_pos)
if there is text this can be used to set the position of the image on the left or the right of the text.
|
void |
setImage_width(java.lang.String image_width)
may want to specify the width of the link.button
|
void |
setImage(java.lang.String image)
can also display an image as part of the link
|
void |
setPresentation_name(java.lang.String presentation_name) |
void |
setTooltip(java.lang.String tooltip) |
void |
setUri(java.lang.String uri) |
getStorage_config_ref, getTable_name, setStorage_config_ref, setTable_name, validateStorageaddButtonsToExecContext, addLinksToExecContext, buildButtons, buildHiddenInput, buildInput, buildLinks, buildPasswordInput, buildTextInput, findFormId, getButton, getButtons, getLink, getLinks, setButton, setLink, setLinksaddChild, clearActions, doReplace, doReplace, getActions, getChild, getContent, getFirstValueFound, getParent, getReplacementContent, getReplacementMarker, isUsedForDisplay, processAction, setAction, setActions, setChild, setContent, setParent, setReplacementContent, setReplacementMarker, setUsedForDisplaypublic java.lang.String execute(IExecContext execContext)
BaseActionexecute in class BaseActionexecContext - the application execution contextpublic Html draw(IExecContext execContext, Theme theme)
public Html buildLink(IExecContext execContext, Theme theme, java.lang.String rowId)
public void setHeader_name(java.lang.String header_name)
public java.lang.String getHeader_name()
public void setTooltip(java.lang.String tooltip)
setTooltip in interface ILinkpublic java.lang.String getTooltip()
getTooltip in interface ILinkpublic void setUri(java.lang.String uri)
public java.lang.String getUri()
public void setDisplay_as(java.lang.String display_as)
setDisplay_as in interface ILinkpublic java.lang.String getDisplay_as()
getDisplay_as in interface ILinkpublic void setField(Field field)
public Field getField()
public java.util.List<Field> getFields()
public java.lang.String getId()
public void setId(java.lang.String id)
public void setPresentation_name(java.lang.String presentation_name)
public java.lang.String getPresentation_name()
public void setImage(java.lang.String image)
ILinkpublic java.lang.String getImage()
ILinkpublic void setBorder(java.lang.String border)
ILinkpublic java.lang.String getBorder()
ILinkpublic void setImage_pos(java.lang.String image_pos)
ILinksetImage_pos in interface ILinkpublic java.lang.String getImage_pos()
ILinkgetImage_pos in interface ILinkpublic void setImage_width(java.lang.String image_width)
ILinksetImage_width in interface ILinkpublic java.lang.String getImage_width()
ILinkgetImage_width in interface ILinkpublic void setImage_height(java.lang.String image_height)
ILinksetImage_height in interface ILinkpublic java.lang.String getImage_height()
ILinkgetImage_height in interface ILink