|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.component.ConfigurableBase 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 | |
---|---|
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 |
LightBox |
getLightBox()
Returns the LightBox used to open the link in |
Link |
getLink()
Returns the Link |
String |
getLinkText()
Returns the label of the Link |
String |
getTarget()
Returns the target of the Link |
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 |
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 |
---|
getComponentSecurity, getComponentSecurityClass, getComponentTypeName, getFieldLabel, getLabel, getLabelColSpan, getLabelPlacement, getLabelStyleClasses, getShortLabel, isLabelRendered, performFinalize, setComponentSecurity, setFieldLabel, setLabel, setLabelColSpan, setLabelPlacement, setLabelRendered, setLabelStyleClasses, setNestedComponentIdAndSuffix, setShortLabel, setShowLabel |
Methods inherited from class org.kuali.rice.krad.uif.component.ConfigurableBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
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.uif.component.Configurable |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.uif.component.ScriptEventSupport |
---|
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnLoadScript |
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 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.
- Returns:
- The Link field
public void setLink(Link link)
Link
component.
- Parameters:
link
-
public String getLinkText()
Link
field that will be used to render the label of the link.
- Returns:
- The link label
public void setLinkText(String linkLabel)
Link
field.
- Parameters:
linkLabel
-
public String getTarget()
Link
field that will be used to specify where to open the href.
- Returns:
- The target
public void setTarget(String target)
Link
field.
- Parameters:
target
-
public String getHref()
Link
field.
- Returns:
- The href text
public void setHref(String hrefText)
Link
field.
- Parameters:
hrefText
-
public void setLightBox(LightBox lightBox)
lightBox
- public LightBox getLightBox()
LightBox
used to open the link in
LightBox
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |