|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.DictionaryBeanBase org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase
@Deprecated public abstract class ControlDefinitionBase
A single HTML control definition in the DataDictionary, which contains information relating to the HTML control used to realize a specific attribute. All types of controls are represented by an instance of this class; you have to call one of the is* methods to figure out which of the other accessors should return useful values.
Field Summary | |
---|---|
protected String |
businessObjectClass
Deprecated. |
protected Integer |
cols
Deprecated. |
protected boolean |
datePicker
Deprecated. |
protected boolean |
expandedTextArea
Deprecated. |
protected Boolean |
includeBlankRow
Deprecated. |
protected Boolean |
includeKeyInLabel
Deprecated. |
protected String |
keyAttribute
Deprecated. |
protected String |
labelAttribute
Deprecated. |
protected boolean |
ranged
Deprecated. |
protected Integer |
rows
Deprecated. |
protected String |
script
Deprecated. |
protected Integer |
size
Deprecated. |
protected String |
valuesFinderClass
Deprecated. |
Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
---|
id |
Constructor Summary | |
---|---|
ControlDefinitionBase()
Deprecated. |
Method Summary | |
---|---|
void |
completeValidation(Class rootBusinessObjectClass,
Class otherBusinessObjectClass)
Deprecated. Directly validate simple fields. |
boolean |
equals(Object object)
Deprecated. |
String |
getBusinessObjectClass()
Deprecated. |
Integer |
getCols()
Deprecated. |
Boolean |
getIncludeBlankRow()
Deprecated. |
Boolean |
getIncludeKeyInLabel()
Deprecated. Gets the flag that indicates if the labels the ValuesFinder class returns should include the key. |
String |
getKeyAttribute()
Deprecated. |
String |
getLabelAttribute()
Deprecated. |
Integer |
getRows()
Deprecated. |
String |
getScript()
Deprecated. |
Integer |
getSize()
Deprecated. |
String |
getValuesFinderClass()
Deprecated. |
boolean |
hasScript()
Deprecated. |
boolean |
isButton()
Deprecated. |
boolean |
isCheckbox()
Deprecated. |
boolean |
isCurrency()
Deprecated. |
boolean |
isDatePicker()
Deprecated. |
boolean |
isExpandedTextArea()
Deprecated. |
boolean |
isFile()
Deprecated. |
boolean |
isHidden()
Deprecated. |
boolean |
isKualiUser()
Deprecated. |
boolean |
isLink()
Deprecated. |
boolean |
isLookupHidden()
Deprecated. |
boolean |
isLookupReadonly()
Deprecated. |
boolean |
isMultiselect()
Deprecated. |
boolean |
isRadio()
Deprecated. |
boolean |
isRanged()
Deprecated. |
boolean |
isSelect()
Deprecated. |
boolean |
isText()
Deprecated. |
boolean |
isTextarea()
Deprecated. |
boolean |
isWorkflowWorkgroup()
Deprecated. |
void |
setBusinessObjectClass(String businessObjectClass)
Deprecated. Used by a PersistableBusinessObjectValuesFinder to automatically query and display a list of business objects as part of a select list or set of radio buttons. |
void |
setCols(Integer cols)
Deprecated. Number of columns to display on a text-area widget. |
void |
setDatePicker(boolean datePicker)
Deprecated. Whether this control should have a date picker button next to the field. |
void |
setExpandedTextArea(boolean eTextArea)
Deprecated. Whether this control should have a expanded text area button next to the field. |
void |
setIncludeBlankRow(Boolean includeBlankRow)
Deprecated. |
void |
setIncludeKeyInLabel(Boolean includeKeyInLabel)
Deprecated. Whether to include the key in the label for select lists and radio buttons. |
void |
setKeyAttribute(String keyAttribute)
Deprecated. Attribute of the given dataObjectClass to use as the value of a select list or set of radio buttons. |
void |
setLabelAttribute(String labelAttribute)
Deprecated. Attribute of the given dataObjectClass to use as the displayed label on a select list or set of radio buttons. |
void |
setRanged(boolean ranged)
Deprecated. Sets the control as a ranged (from and to) date field if true, or a single date field if false |
void |
setRows(Integer rows)
Deprecated. Number of rows to display on a text-area widget. |
void |
setScript(String script)
Deprecated. JavaScript script to run when a select control's value is changed. |
void |
setSize(Integer size)
Deprecated. Size of a text control. |
void |
setValuesFinderClass(String valuesFinderClass)
Deprecated. Sets the Class used to retrieve the complete range of values for radiobutton and select controls. |
Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase |
---|
afterPropertiesSet, getId, setId |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
copy, copyProperties, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DataDictionaryDefinition |
---|
getId |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Field Detail |
---|
protected boolean datePicker
protected boolean expandedTextArea
protected String script
protected String valuesFinderClass
protected String businessObjectClass
protected String keyAttribute
protected String labelAttribute
protected Boolean includeBlankRow
protected Boolean includeKeyInLabel
protected Integer size
protected Integer rows
protected Integer cols
protected boolean ranged
Constructor Detail |
---|
public ControlDefinitionBase()
Method Detail |
---|
public boolean isDatePicker()
isDatePicker
in interface ControlDefinition
public void setDatePicker(boolean datePicker)
setDatePicker
in interface ControlDefinition
ControlDefinition.setDatePicker(boolean)
public boolean isExpandedTextArea()
isExpandedTextArea
in interface ControlDefinition
public void setExpandedTextArea(boolean eTextArea)
setExpandedTextArea
in interface ControlDefinition
ControlDefinition.setExpandedTextArea(boolean)
public boolean isCheckbox()
isCheckbox
in interface ControlDefinition
ControlDefinition.isCheckbox()
public boolean isHidden()
isHidden
in interface ControlDefinition
ControlDefinition.isHidden()
public boolean isRadio()
isRadio
in interface ControlDefinition
ControlDefinition.isRadio()
public boolean isSelect()
isSelect
in interface ControlDefinition
ControlDefinition.isSelect()
public boolean isMultiselect()
isMultiselect
in interface ControlDefinition
ControlDefinition.isSelect()
public boolean isText()
isText
in interface ControlDefinition
ControlDefinition.isText()
public boolean isTextarea()
isTextarea
in interface ControlDefinition
ControlDefinition.isTextarea()
public boolean isCurrency()
isCurrency
in interface ControlDefinition
ControlDefinition.isCurrency()
public boolean isKualiUser()
isKualiUser
in interface ControlDefinition
ControlDefinition.isKualiUser()
public boolean isWorkflowWorkgroup()
isWorkflowWorkgroup
in interface ControlDefinition
org.kuali.rice.krad.datadictionary.control.ControlDefinition#isWorkgroup()
public boolean isFile()
isFile
in interface ControlDefinition
ControlDefinition.isFile()
public boolean isLookupHidden()
isLookupHidden
in interface ControlDefinition
ControlDefinition.isLookupHidden()
public boolean isLookupReadonly()
isLookupReadonly
in interface ControlDefinition
ControlDefinition.isLookupReadonly()
public boolean isButton()
isButton
in interface ControlDefinition
ControlDefinition.isButton()
public boolean isLink()
isLink
in interface ControlDefinition
ControlDefinition.isLink()
public void setValuesFinderClass(String valuesFinderClass)
ControlDefinition
setValuesFinderClass
in interface ControlDefinition
org.kuali.rice.krad.datadictionary.control.ControlDefinition#setKeyValuesFinder(java.lang.String)
public String getBusinessObjectClass()
getBusinessObjectClass
in interface ControlDefinition
public void setBusinessObjectClass(String businessObjectClass)
setBusinessObjectClass
in interface ControlDefinition
businessObjectClass
- the dataObjectClass to setpublic Boolean getIncludeBlankRow()
getIncludeBlankRow
in interface ControlDefinition
public void setIncludeBlankRow(Boolean includeBlankRow)
setIncludeBlankRow
in interface ControlDefinition
public Boolean getIncludeKeyInLabel()
ControlDefinition
getIncludeKeyInLabel
in interface ControlDefinition
public void setIncludeKeyInLabel(Boolean includeKeyInLabel)
setIncludeKeyInLabel
in interface ControlDefinition
includeKeyInLabel
- whether to include the key with the label to be displayed or not.public String getKeyAttribute()
getKeyAttribute
in interface ControlDefinition
public void setKeyAttribute(String keyAttribute)
setKeyAttribute
in interface ControlDefinition
public String getLabelAttribute()
getLabelAttribute
in interface ControlDefinition
public void setLabelAttribute(String labelAttribute)
setLabelAttribute
in interface ControlDefinition
public String getValuesFinderClass()
getValuesFinderClass
in interface ControlDefinition
org.kuali.rice.krad.datadictionary.control.ControlDefinition#getKeyValuesFinder()
public void setSize(Integer size)
setSize
in interface ControlDefinition
org.kuali.rice.krad.datadictionary.control.ControlDefinition#setSize(int)
public Integer getSize()
getSize
in interface ControlDefinition
ControlDefinition.getSize()
public boolean hasScript()
org.kuali.rice.krad.datadictionary.control.ControlDefinition#hasScript()
public void setRows(Integer rows)
setRows
in interface ControlDefinition
org.kuali.rice.krad.datadictionary.control.ControlDefinition#setRows(int)
public Integer getRows()
getRows
in interface ControlDefinition
ControlDefinition.getRows()
public void setCols(Integer cols)
setCols
in interface ControlDefinition
org.kuali.rice.krad.datadictionary.control.ControlDefinition#setCols(int)
public Integer getCols()
getCols
in interface ControlDefinition
ControlDefinition.getCols()
public void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
completeValidation
in interface DataDictionaryDefinition
rootBusinessObjectClass
- Class of the BusinessObjectEntry which ultimately contains this definitionotherBusinessObjectClass
- other stuff required to complete validationorg.kuali.rice.krad.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Object)
public String getScript()
getScript
in interface ControlDefinition
ControlDefinition.getScript()
public void setScript(String script)
setScript
in interface ControlDefinition
org.kuali.rice.krad.datadictionary.control.ControlDefinition#setScript()
public boolean isRanged()
isRanged
in interface ControlDefinition
ControlDefinition.isRanged()
public void setRanged(boolean ranged)
ranged
- boolean true for a ranged control, false for a single date fieldpublic boolean equals(Object object)
equals
in class Object
Object.equals(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |