|
||||||||||
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.element.Link
public class Link
Content element that renders a link
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 | |
---|---|
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. |
String |
getHref()
Returns the href text |
String |
getIconClass()
Icon Class for the link |
LightBox |
getLightBox()
Returns the LightBox used to open the link in |
String |
getLinkIconPlacement()
Set to LEFT, RIGHT to position image at that location within the button. |
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(Object model,
LifecycleElement parent)
The following updates are done here: Initialize the nested lightBox widget if open in lightbox is true The following updates are done here: Evaluate the progressive render condition (if set) and combine with the current render status to set the render status Called after the initialize phase to perform conditional logic based on the model data |
void |
performFinalize(Object model,
LifecycleElement 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 |
setIconClass(String iconClass)
Setter for the Icon Class |
void |
setLightBox(LightBox lightBox)
Setter for the lightBox |
void |
setLinkIconPlacement(String linkIconPlacement)
Setter for the Link Icon Placement |
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, setExpressionGraph, setPropertyExpressions |
Methods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase |
---|
copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode, unwrap |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions |
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, getContext, getId, getPhasePathMapping, getViewPath, getViewStatus, initializePendingTasks, isFinal, isInitialized, isModelApplied, isMutable, isRender, notifyCompleted, performInitialization, pushAllToContext, pushObjectToContext, setContext, setId, setPhasePathMapping, setRender, setViewPath, setViewStatus, skipLifecycle |
Methods inherited from interface org.kuali.rice.krad.datadictionary.Copyable |
---|
clone, copy, preventModification, unwrap |
Constructor Detail |
---|
public Link()
Method Detail |
---|
public void performApplyModel(Object model, LifecycleElement parent)
Where components can perform conditional logic such as dynamically generating new fields or setting field state based on the given data
performApplyModel
in interface LifecycleElement
performApplyModel
in class ComponentBase
model
- - Top level object containing the data (could be the form or a
top level business object, dto)parent
- parent lifecycle elementpublic void performFinalize(Object model, LifecycleElement parent)
performFinalize
in interface LifecycleElement
performFinalize
in class ComponentBase
model
- - top level object containing the dataparent
- - parent componentpublic 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
LightBox
public void setLightBox(LightBox lightBox)
lightBox
- public String getIconClass()
Bootstrap Icon Class to be rendered on this Link
public void setIconClass(String iconClass)
iconClass
- public String getLinkIconPlacement()
public void setLinkIconPlacement(String linkIconPlacement)
linkIconPlacement
- public void completeValidation(ValidationTrace tracer)
completeValidation
in interface Component
completeValidation
in class ComponentBase
tracer
- Record of component's location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |