org.kuali.rice.kns.lookup
Class HtmlData.AnchorHtmlData

java.lang.Object
  extended by org.kuali.rice.kns.lookup.HtmlData
      extended by org.kuali.rice.kns.lookup.HtmlData.AnchorHtmlData
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HtmlData.MultipleAnchorHtmlData
Enclosing class:
HtmlData

public static class HtmlData.AnchorHtmlData
extends HtmlData

This class is an extension of HtmlData. It represents an anchor tag.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kns.lookup.HtmlData
HtmlData.AnchorHtmlData, HtmlData.InputHtmlData, HtmlData.MultipleAnchorHtmlData
 
Field Summary
protected  String href
           
protected  String onclick
           
protected  String style
           
protected  String styleClass
           
protected  String target
           
static String TARGET_BLANK
           
 
Fields 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
HtmlData.AnchorHtmlData()
          Needed by inquiry framework
HtmlData.AnchorHtmlData(String href, String title)
           
HtmlData.AnchorHtmlData(String href, String methodToCall, String displayText)
           
 
Method Summary
 String constructCompleteHtmlTag()
          This method generates anchor tag.
 String getHref()
           
 String getMethodToCall()
           
 String getOnclick()
           
 String getStyle()
           
 String getStyleClass()
           
 String getTarget()
           
 void setHref(String href)
           
 void setOnclick(String onclick)
           
 void setStyle(String style)
           
 void setStyleClass(String styleClass)
           
 void setTarget(String target)
           
 
Methods 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TARGET_BLANK

public static final String TARGET_BLANK
See Also:
Constant Field Values

href

protected String href

target

protected String target

style

protected String style

styleClass

protected String styleClass

onclick

protected String onclick
Constructor Detail

HtmlData.AnchorHtmlData

public HtmlData.AnchorHtmlData()
Needed by inquiry framework


HtmlData.AnchorHtmlData

public HtmlData.AnchorHtmlData(String href,
                               String title)

HtmlData.AnchorHtmlData

public HtmlData.AnchorHtmlData(String href,
                               String methodToCall,
                               String displayText)
Method Detail

setHref

public void setHref(String href)
Parameters:
href - the href to set

constructCompleteHtmlTag

public String constructCompleteHtmlTag()
This method generates anchor tag.

Specified by:
constructCompleteHtmlTag in class HtmlData
Returns:
See Also:
HtmlData.constructCompleteHtmlTag()

getTarget

public String getTarget()
Returns:
the target

setTarget

public void setTarget(String target)
Parameters:
target - the target to set

getStyle

public String getStyle()
Returns:
the style

setStyle

public void setStyle(String style)
Parameters:
style - the style to set

getStyleClass

public String getStyleClass()
Returns:
the styleClass

setStyleClass

public void setStyleClass(String styleClass)
Parameters:
styleClass - the styleClass to set

getOnclick

public String getOnclick()
Returns:
the onclick

setOnclick

public void setOnclick(String onclick)
Parameters:
onclick - the onclick to set

getHref

public String getHref()
Returns:
the href

getMethodToCall

public String getMethodToCall()
Overrides:
getMethodToCall in class HtmlData
Returns:
the methodToCall


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.