|
||||||||||
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.uif.UifDictionaryBeanBase org.kuali.rice.krad.uif.component.ComponentBase org.kuali.rice.krad.uif.element.ContentElementBase org.kuali.rice.krad.uif.control.ControlBase org.kuali.rice.krad.uif.control.CheckboxControl
public class CheckboxControl
Represents a HTML Checkbox control. Typically used for boolean attributes (where the value is either on/off, true/false)
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 | |
---|---|
CheckboxControl()
|
Method Summary | |
---|---|
void |
completeValidation(ValidationTrace tracer)
Validates different requirements of component compiling a series of reports detailing information on errors found in the component. |
String |
getCheckboxLabel()
Returns the label text for this checkbox |
List<Component> |
getComponentsForLifecycle()
List of components that are contained within the component and should be sent through the lifecycle |
List<Component> |
getInlineComponents()
Gets the inlineComponents used by index in the checkboxLabel that has rich message component index tags |
Message |
getRichLabelMessage()
Gets the Message that represents the rich message content of the label if labelText is using rich message tags. |
String |
getValue()
The value that will be submitted when the checkbox control is checked |
void |
performApplyModel(View view,
Object model,
Component parent)
Sets up rich message content for the label, if any exists |
void |
setCheckboxLabel(String checkboxLabel)
Sets the label text for this checkbox |
void |
setInlineComponents(List<Component> inlineComponents)
Sets the inlineComponents used by index in the checkboxLabel that has rich message component index tags |
void |
setRichLabelMessage(Message richLabelMessage)
Sets the Message that represents the rich message content of the label if it is using rich message tags. |
void |
setValue(String value)
Setter for the value that should be submitted when the checkbox is checked |
Methods inherited from class org.kuali.rice.krad.uif.control.ControlBase |
---|
getComponentTypeName, getDisabledConditionControlNames, getDisabledConditionJs, getDisabledReason, getDisabledWhenChangedPropertyNames, getEnabledWhenChangedPropertyNames, getTabIndex, isDisabled, isEvaluateDisabledOnKeyUp, performFinalize, setDisabled, setDisabledReason, setDisabledWhenChangedPropertyNames, setEnabledWhenChangedPropertyNames, setEvaluateDisabledOnKeyUp, setTabIndex |
Methods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode |
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.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Constructor Detail |
---|
public CheckboxControl()
Method Detail |
---|
public void performApplyModel(View view, Object model, Component parent)
performApplyModel
in interface Component
performApplyModel
in class ControlBase
view
- view instance to which the component belongsmodel
- top level object containing the data (could be the form or a
top level business object, dto)Component.performApplyModel(org.kuali.rice.krad.uif.view.View, Object, org.kuali.rice.krad.uif.component.Component)
public List<Component> getComponentsForLifecycle()
Component
Used by ViewHelperService
for the various lifecycle callbacks
getComponentsForLifecycle
in interface Component
getComponentsForLifecycle
in class ComponentBase
ComponentBase.getComponentsForLifecycle()
public String getValue()
Value can be left blank, in which case the checkbox will submit a boolean value that will populate a boolean property. In cases where the checkbox needs to submit another value (for instance possibly in the checkbox group) the value can be set which will override the default.
getValue
in interface ValueConfiguredControl
public void setValue(String value)
setValue
in interface ValueConfiguredControl
value
- public String getCheckboxLabel()
public void setCheckboxLabel(String checkboxLabel)
checkboxLabel
- the label textpublic Message getRichLabelMessage()
public void setRichLabelMessage(Message richLabelMessage)
richLabelMessage
- public List<Component> getInlineComponents()
public void setInlineComponents(List<Component> inlineComponents)
inlineComponents
- public void completeValidation(ValidationTrace tracer)
Component
completeValidation
in interface Component
completeValidation
in class ControlBase
tracer
- Record of component's locationComponent.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |