| 
||||||||||
| 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.element.ContentElementBase
org.kuali.rice.krad.uif.element.Link
public class Link
Content element that renders a link
| 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 | |
|---|---|
Link()
 | 
|
| 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  | 
|
 LightBox | 
getLightBox()
Returns the LightBox used to open the link in | 
|
 String | 
getLinkText()
Returns the label of the link  | 
|
 String | 
getTarget()
Returns the target that will be used to specify where to open the href  | 
|
 boolean | 
isOpenInLightbox()
Indicates whether the link URL should be opened in a lightbox  | 
|
 void | 
performApplyModel(View view,
                                   Object model,
                                   Component parent)
The following updates are done here: Initialize the nested lightBox widget if open in lightbox is true  | 
|
 void | 
performFinalize(View view,
                               Object model,
                               Component parent)
Special handling for lightbox links to add and onclick data attribute to be handled by a global handler  | 
|
 void | 
setHref(String href)
Setter for the hrefText  | 
|
 void | 
setLightBox(LightBox lightBox)
Setter for the lightBox  | 
|
 void | 
setLinkText(String linkText)
Setter for the link label  | 
|
 void | 
setOpenInLightbox(boolean openInLightbox)
Setter that indicates whether the link should be opened in a lightbox  | 
|
 void | 
setTarget(String target)
Setter for the link target  | 
|
| Methods inherited from class org.kuali.rice.krad.uif.element.ContentElementBase | 
|---|
getComponentTypeName | 
| 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 Link()
| Method Detail | 
|---|
public void performApplyModel(View view,
                              Object model,
                              Component parent)
performApplyModel in interface ComponentperformApplyModel in class ComponentBaseview - - 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, java.lang.Object,
      org.kuali.rice.krad.uif.component.Component)
public void performFinalize(View view,
                            Object model,
                            Component parent)
performFinalize in interface ComponentperformFinalize in class ComponentBaseview - - view instance that should be finalized for renderingmodel - - top level object containing the dataparent - - parent componentComponent.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 ComponentBaseComponentBase.getComponentsForLifecycle()public String getLinkText()
public void setLinkText(String linkText)
linkText - public String getTarget()
public void setTarget(String target)
target - public String getHref()
public void setHref(String href)
href - public boolean isOpenInLightbox()
If set the target attribute is ignored and the URL is opened in a lightbox instead
public void setOpenInLightbox(boolean openInLightbox)
openInLightbox - public LightBox getLightBox()
LightBox used to open the link in
LightBoxpublic void setLightBox(LightBox lightBox)
lightBox - 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)protected <T> void copyProperties(T component)
ComponentBase
copyProperties in class ComponentBasecomponent - base beanComponentBase.copy()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||