public class SubmitCancelButtons
extends java.lang.Object
Constructor and Description |
---|
SubmitCancelButtons(java.lang.String defaultSubmitURL,
java.lang.String defaultSubmitTarget,
java.lang.String defaultSubmitLabel,
java.lang.String defaultSubmitConfirm,
java.lang.String defaultSubmitRowSelect,
boolean defaultCancelButton,
java.lang.String defaultCancelURL,
java.lang.String defaultCancelTarget,
java.lang.String defaultCancelLabel) |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
getBoolean(TableBean<?> table,
java.lang.String key,
boolean defaultValue) |
protected boolean |
getCancelButton(TableBean<?> table) |
protected java.lang.String |
getCancelImage(TableBean<?> table,
java.lang.String defaultImage) |
protected MultilingualText |
getCancelLabel(TableBean<?> table) |
protected java.lang.String |
getCancelTarget(TableBean<?> table) |
protected java.lang.String |
getCancelURL(TableBean<?> table) |
java.lang.String |
getDefaultCancelLabel() |
java.lang.String |
getDefaultCancelTarget() |
java.lang.String |
getDefaultCancelURL() |
java.lang.String |
getDefaultSubmitConfirm() |
java.lang.String |
getDefaultSubmitLabel() |
java.lang.String |
getDefaultSubmitRowSelect() |
java.lang.String |
getDefaultSubmitTarget() |
java.lang.String |
getDefaultSubmitURL() |
java.lang.String |
getHtml(java.util.Locale locale,
TableBean<?> table,
java.lang.String defaultSubmitImage,
java.lang.String defaultCancelImage) |
protected static MultilingualText |
getMultilingualText(TableBean<?> table,
java.lang.String key,
java.lang.String defaultValue) |
protected static java.lang.String |
getString(TableBean<?> table,
java.lang.String key,
java.lang.String defaultValue) |
protected MultilingualText |
getSubmitConfirm(TableBean<?> table) |
protected boolean |
getSubmitDblClickPrevent(TableBean<?> table) |
protected java.lang.String |
getSubmitImage(TableBean<?> table,
java.lang.String defaultImage) |
protected MultilingualText |
getSubmitLabel(TableBean<?> table) |
protected MultilingualText |
getSubmitProgressMessage(TableBean<?> table) |
protected com.technia.tvc.core.gui.common.RowSelectType |
getSubmitRowSelect(TableBean<?> table) |
protected boolean |
getSubmitShowProgress(TableBean<?> table) |
protected java.lang.String |
getSubmitTarget(TableBean<?> table) |
protected java.lang.String |
getSubmitURL(TableBean<?> table) |
boolean |
isDefaultCancelButton() |
void |
render(HtmlWriter w,
TableBean<?> table,
java.util.Locale locale,
java.lang.String defaultSubmitImage,
java.lang.String defaultCancelImage) |
protected boolean |
renderButton(java.lang.StringBuilder html,
java.util.Locale locale,
java.lang.String url,
java.lang.String target,
java.lang.String image,
MultilingualText label,
boolean submit,
com.technia.tvc.core.gui.common.RowSelectType rowSelect,
MultilingualText confirm,
boolean showProgress,
MultilingualText progressMessage,
boolean dblClickPrevent) |
public SubmitCancelButtons(java.lang.String defaultSubmitURL, java.lang.String defaultSubmitTarget, java.lang.String defaultSubmitLabel, java.lang.String defaultSubmitConfirm, java.lang.String defaultSubmitRowSelect, boolean defaultCancelButton, java.lang.String defaultCancelURL, java.lang.String defaultCancelTarget, java.lang.String defaultCancelLabel)
protected static boolean getBoolean(TableBean<?> table, java.lang.String key, boolean defaultValue)
protected static MultilingualText getMultilingualText(TableBean<?> table, java.lang.String key, java.lang.String defaultValue)
protected static java.lang.String getString(TableBean<?> table, java.lang.String key, java.lang.String defaultValue)
protected boolean getCancelButton(TableBean<?> table)
protected java.lang.String getCancelImage(TableBean<?> table, java.lang.String defaultImage)
protected MultilingualText getCancelLabel(TableBean<?> table)
protected java.lang.String getCancelTarget(TableBean<?> table)
protected java.lang.String getCancelURL(TableBean<?> table)
public java.lang.String getDefaultCancelLabel()
public java.lang.String getDefaultCancelTarget()
public java.lang.String getDefaultCancelURL()
public java.lang.String getDefaultSubmitConfirm()
public java.lang.String getDefaultSubmitLabel()
public java.lang.String getDefaultSubmitRowSelect()
public java.lang.String getDefaultSubmitTarget()
public java.lang.String getDefaultSubmitURL()
public java.lang.String getHtml(java.util.Locale locale, TableBean<?> table, java.lang.String defaultSubmitImage, java.lang.String defaultCancelImage)
protected MultilingualText getSubmitConfirm(TableBean<?> table)
protected boolean getSubmitDblClickPrevent(TableBean<?> table)
protected java.lang.String getSubmitImage(TableBean<?> table, java.lang.String defaultImage)
protected MultilingualText getSubmitLabel(TableBean<?> table)
protected MultilingualText getSubmitProgressMessage(TableBean<?> table)
protected com.technia.tvc.core.gui.common.RowSelectType getSubmitRowSelect(TableBean<?> table)
protected boolean getSubmitShowProgress(TableBean<?> table)
protected java.lang.String getSubmitTarget(TableBean<?> table)
protected java.lang.String getSubmitURL(TableBean<?> table)
public boolean isDefaultCancelButton()
public void render(HtmlWriter w, TableBean<?> table, java.util.Locale locale, java.lang.String defaultSubmitImage, java.lang.String defaultCancelImage)
protected boolean renderButton(java.lang.StringBuilder html, java.util.Locale locale, java.lang.String url, java.lang.String target, java.lang.String image, MultilingualText label, boolean submit, com.technia.tvc.core.gui.common.RowSelectType rowSelect, MultilingualText confirm, boolean showProgress, MultilingualText progressMessage, boolean dblClickPrevent)
Copyright ? Technia AB. All Rights Reserved.