public abstract class FieldDef
extends com.technia.tvc.structurebrowser.form.def.FormComponentDef
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoComplete |
protected java.lang.String |
autoCompleteHandler |
protected java.lang.String |
autoCompleteSettings |
protected int |
chooserHeight |
protected java.lang.String |
chooserURL |
protected int |
chooserWidth |
protected java.lang.String |
customRendererClassName |
protected java.lang.String |
defaultValue |
protected boolean |
editable |
protected java.lang.String |
editableExpression |
protected boolean |
focusFirst |
protected boolean |
fromInterface |
protected boolean |
hasclearbutton |
protected java.lang.String |
helpHref |
protected java.lang.String |
labelstyle |
protected java.lang.String |
labelStyleExpression |
protected boolean |
locked |
protected boolean |
multiSelect |
protected java.util.List<java.lang.String> |
postProcesses |
protected java.lang.String |
rangeDisplay |
protected com.technia.tvc.structurebrowser.form.rangeloader.RangeLoader |
rangeLoader |
protected java.lang.String |
rangeSaveValue |
protected java.lang.String |
rangeSeparator |
protected boolean |
required |
protected java.lang.String |
requiredExpression |
protected boolean |
richText |
protected java.lang.String |
searchform |
protected java.util.HashMap<java.lang.String,java.lang.String> |
settings |
protected java.lang.String |
size |
protected boolean |
sortRangeValues |
protected java.lang.String |
symbolicName |
protected boolean |
templatable |
protected java.lang.String |
textfieldwidth |
protected java.lang.String |
tooltipContent |
protected java.lang.String |
tooltipLabel |
protected java.lang.String |
updaterClass |
protected boolean |
usesBusinessObject |
protected com.technia.tvc.structurebrowser.form.def.ValidationDef |
validationDef |
protected boolean |
visible |
protected java.lang.String |
visibleExpression |
Constructor and Description |
---|
FieldDef() |
Modifier and Type | Method and Description |
---|---|
void |
addPostProcessor(java.lang.String postProcessor) |
void |
addSetting(java.lang.String name,
java.lang.String value) |
void |
addVisibleIfValue(java.lang.String value) |
abstract FormComponent |
createFormComponent() |
java.lang.String |
getAutoCompleteHandler() |
java.lang.String |
getAutoCompleteSettings() |
int |
getChooserHeight() |
java.lang.String |
getChooserURL() |
int |
getChooserWidth() |
java.lang.String |
getCustomRendererClassName() |
java.lang.String |
getDefaultAutoCompleteHandler()
Default
AutoCompleteHandler for the field. |
java.lang.String |
getDefaultValue() |
java.lang.String |
getDefaultValueHandler() |
java.lang.String |
getEditableExpression() |
java.lang.String |
getHelpHref() |
java.lang.String[] |
getPostProcesses() |
java.lang.String |
getRangeDisplay() |
com.technia.tvc.structurebrowser.form.rangeloader.RangeLoader |
getRangeLoader() |
java.lang.String |
getRangeSaveValue() |
java.lang.String |
getRangeSeparator() |
java.lang.String |
getRequiredExpression() |
java.lang.String |
getSearchform() |
java.util.HashMap<java.lang.String,java.lang.String> |
getSettings() |
java.lang.String |
getSize() |
java.lang.String |
getSymbolicName() |
java.lang.String |
getTextfieldwidth() |
java.lang.String |
getTooltipContent() |
java.lang.String |
getTooltipLabel() |
java.lang.String |
getUpdaterClass() |
com.technia.tvc.structurebrowser.form.def.ValidationDef |
getValidationDef() |
java.lang.String |
getVisibleExpression() |
java.util.List<java.lang.String> |
getVisibleIf() |
java.lang.String |
getVisibleIfId() |
void |
initialize() |
boolean |
isAutoComplete() |
boolean |
isEditable() |
boolean |
isFocusFirst() |
boolean |
isFromInterface() |
boolean |
isHasclearbutton() |
boolean |
isLocked() |
boolean |
isMultiSelect() |
boolean |
isRequired() |
boolean |
isRichText() |
boolean |
isSortRangeValues() |
boolean |
isTemplatable() |
boolean |
isUsesBusinessObject() |
boolean |
isVisible() |
boolean |
isVisibleIfDef() |
void |
setAutoComplete(boolean autoComplete) |
void |
setAutoComplete(java.lang.String autoComplete) |
void |
setAutoCompleteHandler(java.lang.String handler) |
void |
setAutoCompleteSettings(java.lang.String settings) |
void |
setChooserHeight(int chooserHeight) |
void |
setChooserURL(java.lang.String chooserURL) |
void |
setChooserWidth(int chooserWidth) |
void |
setCustomRendererClassName(java.lang.String customRendererClassName) |
void |
setDefaultValue(java.lang.String defaultValue) |
void |
setDefaultValueHandler(java.lang.String defaultValueHandler) |
void |
setEditable(java.lang.String editable) |
void |
setFocusFirst(java.lang.String focusFirst) |
void |
setFromInterface(boolean fromInterface) |
void |
setHasclearbutton(java.lang.String hasClearButton) |
void |
setHelpHref(java.lang.String helpHref) |
void |
setLabelstyle(java.lang.String labelstyle) |
void |
setLabelStyleExpression(java.lang.String labelStyleExpression) |
void |
setLocked(boolean locked) |
void |
setMultiSelect(java.lang.String multiSelect) |
void |
setRangeDisplay(java.lang.String rangeDisplay) |
void |
setRangeLoader(java.lang.String rangeLoader) |
void |
setRangeSaveValue(java.lang.String rangeSaveValue) |
void |
setRangeSeparator(java.lang.String rangeSeparator) |
void |
setReadOnly(java.lang.String readonly) |
void |
setRequired(java.lang.String requiredExpression) |
void |
setRichText(java.lang.String richText) |
void |
setSearchform(java.lang.String searchform) |
void |
setSettings(java.util.HashMap<java.lang.String,java.lang.String> settings) |
void |
setSize(java.lang.String size) |
void |
setSortRangeValues(java.lang.String sortRangeValues) |
void |
setSymbolicName(java.lang.String symbolicName) |
void |
setTemplatable(java.lang.String templatable) |
void |
setTextfieldwidth(java.lang.String textfieldwidth) |
void |
setTooltipContent(java.lang.String tooltipContent) |
void |
setTooltipLabel(java.lang.String tooltipLabel) |
void |
setUpdaterClass(java.lang.String updaterClass) |
void |
setUsesBusinessObject(boolean usesBusinessObject) |
void |
setValidationDef(com.technia.tvc.structurebrowser.form.def.ValidationDef validationDef) |
void |
setVisible(java.lang.String visibleExpression) |
void |
setVisibleIfId(java.lang.String visibleForId) |
java.lang.String |
toString() |
getId, getLabel, getLabel, getName, isTemplateEnabled, setId, setLabel, setLabel, setName, setTemplateEnabled
protected boolean autoComplete
protected java.lang.String autoCompleteHandler
protected java.lang.String autoCompleteSettings
protected int chooserHeight
protected java.lang.String chooserURL
protected int chooserWidth
protected java.lang.String customRendererClassName
protected java.lang.String defaultValue
protected boolean editable
protected java.lang.String editableExpression
protected boolean hasclearbutton
protected java.lang.String helpHref
protected java.lang.String labelstyle
protected java.lang.String labelStyleExpression
protected boolean locked
protected boolean multiSelect
protected java.util.List<java.lang.String> postProcesses
protected java.lang.String rangeDisplay
protected com.technia.tvc.structurebrowser.form.rangeloader.RangeLoader rangeLoader
protected java.lang.String rangeSaveValue
protected java.lang.String rangeSeparator
protected boolean required
protected boolean templatable
protected java.lang.String requiredExpression
protected boolean richText
protected java.lang.String searchform
protected java.util.HashMap<java.lang.String,java.lang.String> settings
protected java.lang.String size
protected java.lang.String symbolicName
protected java.lang.String textfieldwidth
protected java.lang.String tooltipContent
protected java.lang.String tooltipLabel
protected java.lang.String updaterClass
protected boolean usesBusinessObject
protected boolean fromInterface
protected com.technia.tvc.structurebrowser.form.def.ValidationDef validationDef
protected boolean visible
protected java.lang.String visibleExpression
protected boolean sortRangeValues
protected boolean focusFirst
public void addPostProcessor(java.lang.String postProcessor)
public void addSetting(java.lang.String name, java.lang.String value)
public abstract FormComponent createFormComponent() throws com.technia.tvc.structurebrowser.form.exception.FormException
createFormComponent
in class com.technia.tvc.structurebrowser.form.def.FormComponentDef
com.technia.tvc.structurebrowser.form.exception.FormException
public java.lang.String getAutoCompleteHandler()
public java.lang.String getAutoCompleteSettings()
public int getChooserHeight()
public java.lang.String getChooserURL()
public int getChooserWidth()
public java.lang.String getCustomRendererClassName()
public java.lang.String getDefaultValue()
public java.lang.String getDefaultValueHandler()
public java.lang.String getDefaultAutoCompleteHandler()
AutoCompleteHandler
for the field. Used in case no
specific handler is configured for the field. Specify either with
short-name (e.g. type, user, dataset) or qualified name of java class
(com.acme.somedomain.MyCustomAutoCompleteHandler).public java.lang.String getEditableExpression()
public java.lang.String getHelpHref()
public java.lang.String[] getPostProcesses()
public java.lang.String getRangeDisplay()
public com.technia.tvc.structurebrowser.form.rangeloader.RangeLoader getRangeLoader()
public java.lang.String getRangeSaveValue()
public java.lang.String getRangeSeparator()
public java.lang.String getRequiredExpression()
public java.lang.String getSearchform()
public java.util.HashMap<java.lang.String,java.lang.String> getSettings()
public java.lang.String getSize()
public java.lang.String getSymbolicName()
public java.lang.String getTextfieldwidth()
public java.lang.String getTooltipContent()
public java.lang.String getTooltipLabel()
public java.lang.String getUpdaterClass()
public com.technia.tvc.structurebrowser.form.def.ValidationDef getValidationDef()
public java.lang.String getVisibleExpression()
public void initialize() throws TVCException
initialize
in class com.technia.tvc.structurebrowser.form.def.Def
TVCException
public boolean isAutoComplete()
public boolean isEditable()
public boolean isHasclearbutton()
public boolean isLocked()
public boolean isMultiSelect()
public boolean isRequired()
public boolean isTemplatable()
public boolean isRichText()
public boolean isUsesBusinessObject()
public boolean isFromInterface()
public boolean isVisible()
public void setAutoComplete(java.lang.String autoComplete)
public void setAutoComplete(boolean autoComplete)
public void setAutoCompleteHandler(java.lang.String handler)
public void setAutoCompleteSettings(java.lang.String settings)
public void setChooserHeight(int chooserHeight)
public void setChooserURL(java.lang.String chooserURL)
public void setChooserWidth(int chooserWidth)
public void setCustomRendererClassName(java.lang.String customRendererClassName)
public void setDefaultValue(java.lang.String defaultValue) throws java.lang.Exception
java.lang.Exception
public void setDefaultValueHandler(java.lang.String defaultValueHandler)
public void setEditable(java.lang.String editable)
public void setHasclearbutton(java.lang.String hasClearButton)
public void setHelpHref(java.lang.String helpHref)
public void setLabelstyle(java.lang.String labelstyle)
public void setLabelStyleExpression(java.lang.String labelStyleExpression)
public void setLocked(boolean locked)
public void setMultiSelect(java.lang.String multiSelect)
public void setRangeDisplay(java.lang.String rangeDisplay)
public void setRangeLoader(java.lang.String rangeLoader) throws java.lang.Exception
java.lang.Exception
public void setRangeSaveValue(java.lang.String rangeSaveValue)
public void setRangeSeparator(java.lang.String rangeSeparator)
public void setReadOnly(java.lang.String readonly)
public void setRequired(java.lang.String requiredExpression)
public void setTemplatable(java.lang.String templatable)
public void setRichText(java.lang.String richText)
public void setSearchform(java.lang.String searchform)
public void setSettings(java.util.HashMap<java.lang.String,java.lang.String> settings)
public void setSize(java.lang.String size)
public void setSymbolicName(java.lang.String symbolicName)
public void setTextfieldwidth(java.lang.String textfieldwidth)
public void setTooltipContent(java.lang.String tooltipContent)
public void setTooltipLabel(java.lang.String tooltipLabel)
public void setUpdaterClass(java.lang.String updaterClass)
public void setUsesBusinessObject(boolean usesBusinessObject)
public void setFromInterface(boolean fromInterface)
public void setValidationDef(com.technia.tvc.structurebrowser.form.def.ValidationDef validationDef)
public void setVisible(java.lang.String visibleExpression)
public boolean isSortRangeValues()
public void setSortRangeValues(java.lang.String sortRangeValues)
public void addVisibleIfValue(java.lang.String value)
public java.util.List<java.lang.String> getVisibleIf()
public boolean isVisibleIfDef()
public java.lang.String getVisibleIfId()
public void setVisibleIfId(java.lang.String visibleForId)
public boolean isFocusFirst()
public void setFocusFirst(java.lang.String focusFirst)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © Technia AB. All Rights Reserved.