|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.component.ConfigurableBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.control.ControlBase org.kuali.rice.krad.uif.control.TextControl
public class TextControl
Represents a HTML Text control, generally rendered as a input field of type 'text'. This can display and receive a single value
Field Summary |
---|
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
TextControl()
|
Method Summary | |
---|---|
DatePicker |
getDatePicker()
Renders a calendar that can be used to select a date value for the text control. |
Integer |
getMaxLength()
Maximum number of characters that can be inputted |
Integer |
getMinLength()
Minimum number of characters that can be inputted |
List<Component> |
getNestedComponents()
List of components that are contained within the component |
int |
getSize()
Horizontal display size of the control (in number of characters) |
String |
getWatermarkText()
|
boolean |
isTextExpand()
If set to true, this control will have a button which can be clicked to expand the text area through a popup window so the user has more space to type and see the data they are entering in this text field |
void |
performFinalize(View view,
Object model,
Component parent)
The following actions are performed: Defaults maxLength, minLength (if not set) to maxLength of parent field |
void |
setDatePicker(DatePicker datePicker)
|
void |
setMaxLength(Integer maxLength)
Setter for the max number of input characters |
void |
setMinLength(Integer minLength)
Setter for the min number of input characters |
void |
setSize(int size)
Setter for the horizontal display size |
void |
setTextExpand(boolean textExpand)
|
void |
setWatermarkText(String watermarkText)
|
Methods inherited from class org.kuali.rice.krad.uif.control.ControlBase |
---|
getComponentTypeName, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnDblClick, getSupportsOnFocus, getTabIndex, setTabIndex |
Methods inherited from class org.kuali.rice.krad.uif.component.ConfigurableBase |
---|
getPropertyExpression, getPropertyExpressions, setPropertyExpressions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.uif.component.Configurable |
---|
getPropertyExpression, getPropertyExpressions, setPropertyExpressions |
Constructor Detail |
---|
public TextControl()
Method Detail |
---|
public List<Component> getNestedComponents()
Component
Used by ViewHelperService
for the various lifecycle
callbacks
getNestedComponents
in interface Component
getNestedComponents
in class ComponentBase
ComponentBase.getNestedComponents()
public void performFinalize(View view, Object model, Component parent)
performFinalize
in interface Component
performFinalize
in class ComponentBase
view
- - view instance that should be finalized for renderingmodel
- - top level object containing the dataparent
- - parent componentComponentBase.performFinalize(org.kuali.rice.krad.uif.view.View,
java.lang.Object, org.kuali.rice.krad.uif.component.Component)
public int getSize()
public void setSize(int size)
size
- public Integer getMaxLength()
If not set on control, max length of field will be used
public void setMaxLength(Integer maxLength)
maxLength
- public Integer getMinLength()
If not set on control, min length of field will be used
public void setMinLength(Integer minLength)
maxLength
- public DatePicker getDatePicker()
Calendar
instance contains configuration such
as the date format string
public void setDatePicker(DatePicker datePicker)
public String getWatermarkText()
public void setWatermarkText(String watermarkText)
watermarkText
- the watermarkText to setpublic boolean isTextExpand()
public void setTextExpand(boolean textExpand)
textExpand
- the textExpand to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |