|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
org.kuali.rice.krad.uif.component.ComponentBase
org.kuali.rice.krad.uif.field.FieldBase
org.kuali.rice.krad.uif.field.LinkField
public class LinkField
Field that encloses a link element
| Field Summary |
|---|
| Fields inherited from class org.kuali.rice.krad.uif.component.ComponentBase |
|---|
templateOptions |
| Fields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
|---|
componentCode, namespaceCode |
| 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 | |
|---|---|
LinkField()
|
|
| Method Summary | ||
|---|---|---|
void |
completeValidation(ValidationTrace tracer)
Validates different requirements of component compiling a series of reports detailing information on errors found in the component. |
|
protected
|
copyProperties(T component)
Copies properties for copy() |
|
List<Component> |
getComponentsForLifecycle()
List of components that are contained within the component and should be sent through the lifecycle |
|
String |
getHref()
Returns the href text of the Link field. |
|
LightBox |
getLightBox()
Returns the LightBox used to open the link in |
|
Link |
getLink()
Returns the Link field. |
|
String |
getLinkText()
Returns the label of the Link field that will be used to render the label of the link. |
|
String |
getTarget()
Returns the target of the Link field that will be used to specify where to open the href. |
|
void |
performFinalize(Object model,
Component parent)
PerformFinalize override - calls super, corrects the field's Label for attribute to point to this field's content |
|
void |
performInitialization(Object model)
The following initialization is performed: Set the linkLabel if blank to the Field label |
|
void |
setHref(String hrefText)
Setter for the hrefText. |
|
void |
setLightBox(LightBox lightBox)
Setter for the lightBox |
|
void |
setLink(Link link)
Setter for the Link component. |
|
void |
setLinkText(String linkLabel)
Setter for the link label. |
|
void |
setTarget(String target)
Setter for the link target. |
|
| Methods inherited from class org.kuali.rice.krad.uif.field.FieldBase |
|---|
getComponentTypeName, getFieldLabel, getFieldSecurity, getLabel, getLabelColSpan, getLabelPlacement, getLabelStyleClasses, getShortLabel, initializeComponentSecurity, isEditInLineAuthz, isLabelRendered, isViewInLineAuthz, setComponentSecurity, setEditInLineAuthz, setFieldLabel, setLabel, setLabelColSpan, setLabelPlacement, setLabelRendered, setLabelStyleClasses, setNestedComponentIdAndSuffix, setShortLabel, setShowLabel, setViewInLineAuthz |
| 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 |
|---|
dataDictionaryPostProcessing, 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 |
|---|
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode |
| Methods inherited from interface org.kuali.rice.krad.uif.util.LifecycleElement |
|---|
checkMutable, copy, getId, initializePendingTasks, isMutable, performApplyModel, setId |
| Constructor Detail |
|---|
public LinkField()
| Method Detail |
|---|
public void performInitialization(Object model)
performInitialization in interface LifecycleElementperformInitialization in class ComponentBasemodel - - object instance containing the view dataorg.kuali.rice.krad.uif.component.ComponentBase#performInitialization(org.kuali.rice.krad.uif.view.View,
java.lang.Object)
public void performFinalize(Object model,
Component parent)
performFinalize in interface LifecycleElementperformFinalize in class FieldBaseview - the viewmodel - the modelparent - the parent componentorg.kuali.rice.krad.uif.component.ComponentBase#performFinalize(org.kuali.rice.krad.uif.view.View,
java.lang.Object, org.kuali.rice.krad.uif.component.Component)public List<Component> getComponentsForLifecycle()
Component
Used by ViewHelperService for the various lifecycle callbacks
getComponentsForLifecycle in interface ComponentgetComponentsForLifecycle in class FieldBaseComponentBase.getComponentsForLifecycle()public Link getLink()
Link field.
public void setLink(Link link)
Link component.
link - public String getLinkText()
Link field that will be used to render the label of the link.
public void setLinkText(String linkLabel)
Link field.
linkLabel - public String getTarget()
Link field that will be used to specify where to open the href.
public void setTarget(String target)
Link field.
target - public String getHref()
Link field.
public void setHref(String hrefText)
Link field.
hrefText - public void setLightBox(LightBox lightBox)
lightBox - public LightBox getLightBox()
LightBox used to open the link in
LightBoxprotected <T> void copyProperties(T component)
DictionaryBeanBase
copyProperties in class FieldBasecomponent - base beanDictionaryBeanBase.copyProperties(Object)public void completeValidation(ValidationTrace tracer)
Component
completeValidation in interface ComponentcompleteValidation in class ComponentBasetracer - 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 | |||||||||