|
||||||||||
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.field.FieldBase org.kuali.rice.krad.uif.field.LinkField
public class LinkField
Field that encloses a link element
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 | |
---|---|
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 the properties over for the copy method |
|
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(View view,
Object model,
Component parent)
PerformFinalize override - calls super, corrects the field's Label for attribute to point to this field's content |
|
void |
performInitialization(View view,
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 |
---|
getComponentSecurityClass, getComponentTypeName, getFieldLabel, getFieldSecurity, getLabel, getLabelColSpan, getLabelPlacement, getLabelStyleClasses, getShortLabel, isLabelRendered, setComponentSecurity, setFieldLabel, setLabel, setLabelColSpan, setLabelPlacement, setLabelRendered, setLabelStyleClasses, setNestedComponentIdAndSuffix, setShortLabel, setShowLabel |
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, getLabelFromCamelCasedName, 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 LinkField()
Method Detail |
---|
public void performInitialization(View view, Object model)
performInitialization
in interface Component
performInitialization
in class FieldBase
view
- - view instance in which the component belongsmodel
- - object instance containing the view dataComponentBase.performInitialization(org.kuali.rice.krad.uif.view.View,
java.lang.Object)
public void performFinalize(View view, Object model, Component parent)
performFinalize
in interface Component
performFinalize
in class FieldBase
view
- the viewmodel
- the modelparent
- the parent componentComponentBase.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 Component
getComponentsForLifecycle
in class FieldBase
ComponentBase.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
LightBox
public void completeValidation(ValidationTrace tracer)
Component
completeValidation
in interface Component
completeValidation
in class ComponentBase
tracer
- Record of component's locationComponent.completeValidation(org.kuali.rice.krad.datadictionary.validator.ValidationTrace)
protected <T> void copyProperties(T component)
ComponentBase
copyProperties
in class FieldBase
component
- base beanComponentBase.copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |