Package org.kuali.rice.kns.lookup
Class HtmlData.AnchorHtmlData
java.lang.Object
org.kuali.rice.kns.lookup.HtmlData
org.kuali.rice.kns.lookup.HtmlData.AnchorHtmlData
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HtmlData.MultipleAnchorHtmlData
- Enclosing class:
HtmlData
This class is an extension of HtmlData. It represents an anchor tag.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kuali.rice.kns.lookup.HtmlData
HtmlData.AnchorHtmlData, HtmlData.InputHtmlData, HtmlData.MultipleAnchorHtmlData -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringstatic final StringFields inherited from class org.kuali.rice.kns.lookup.HtmlData
ANCHOR_HTML_DATA_TYPE, appendDisplayText, childUrlDataList, displayText, INPUT_HTML_DATA_TYPE, LOG, maxLength, methodToCall, name, prependDisplayText, title -
Constructor Summary
ConstructorsConstructorDescriptionNeeded by inquiry frameworkAnchorHtmlData(String href, String title) AnchorHtmlData(String href, String methodToCall, String displayText) -
Method Summary
Modifier and TypeMethodDescriptionThis method generates anchor tag.getHref()getId()getStyle()voidsetAnchorClass(String anchorClass) voidvoidvoidsetOnclick(String onclick) voidvoidsetStyleClass(String styleClass) voidMethods inherited from class org.kuali.rice.kns.lookup.HtmlData
getAppendDisplayText, getChildUrlDataList, getDisplayText, getMaxLength, getName, getPrependDisplayText, getTitle, getTitle, getTitleText, getTitleText, setAppendDisplayText, setChildUrlDataList, setDisplayText, setMaxLength, setMethodToCall, setName, setPrependDisplayText, setTitle
-
Field Details
-
TARGET_BLANK
- See Also:
-
href
-
target
-
style
-
styleClass
-
onclick
-
anchorClass
-
id
-
-
Constructor Details
-
AnchorHtmlData
public AnchorHtmlData()Needed by inquiry framework -
AnchorHtmlData
-
AnchorHtmlData
-
-
Method Details
-
setHref
- Parameters:
href- the href to set
-
constructCompleteHtmlTag
This method generates anchor tag.- Specified by:
constructCompleteHtmlTagin classHtmlData- Returns:
- See Also:
-
getTarget
- Returns:
- the target
-
setTarget
- Parameters:
target- the target to set
-
getStyle
- Returns:
- the style
-
setStyle
- Parameters:
style- the style to set
-
getStyleClass
- Returns:
- the styleClass
-
setStyleClass
- Parameters:
styleClass- the styleClass to set
-
getOnclick
- Returns:
- the onclick
-
setOnclick
- Parameters:
onclick- the onclick to set
-
getHref
- Returns:
- the href
-
getMethodToCall
- Overrides:
getMethodToCallin classHtmlData- Returns:
- the methodToCall
-
getAnchorClass
- Returns:
- the anchorClass
-
setAnchorClass
-
getId
- Returns:
- the id
-
setId
-