com.github.dandelion.datatables.core.html
Class HtmlHyperlink

java.lang.Object
  extended by com.github.dandelion.datatables.core.html.HtmlTag
      extended by com.github.dandelion.datatables.core.html.HtmlTagWithContent
          extended by com.github.dandelion.datatables.core.html.HtmlHyperlink

public class HtmlHyperlink
extends HtmlTagWithContent

Plain old HTML a tag (link).

Since:
0.7.0
Author:
Thibault Duchateau

Field Summary
 
Fields inherited from class com.github.dandelion.datatables.core.html.HtmlTagWithContent
content
 
Fields inherited from class com.github.dandelion.datatables.core.html.HtmlTag
CLASS_SEPARATOR, cssClass, cssStyle, dynamicAttributes, id, STYLE_SEPARATOR, tag
 
Constructor Summary
HtmlHyperlink()
           
HtmlHyperlink(String href, String label)
           
 
Method Summary
 String getHref()
           
protected  StringBuilder getHtmlAttributes()
           
 String getOnclick()
           
 void setHref(String href)
           
 void setOnclick(String onclick)
           
 
Methods inherited from class com.github.dandelion.datatables.core.html.HtmlTagWithContent
addContent, addContent, getContent, setContent, toHtml
 
Methods inherited from class com.github.dandelion.datatables.core.html.HtmlTag
addCssClass, addCssStyle, addDynamicAttribute, getCssClass, getCssStyle, getDynamicAttributes, getDynamicAttributeValue, getDynamicHtmlAttributes, getHtmlClosingTag, getHtmlOpeningTag, getId, getTag, removeDynamicAttribute, setCssClass, setCssStyle, setDynamicAttributes, setId, writeAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlHyperlink

public HtmlHyperlink()

HtmlHyperlink

public HtmlHyperlink(String href,
                     String label)
Method Detail

getHtmlAttributes

protected StringBuilder getHtmlAttributes()
Overrides:
getHtmlAttributes in class HtmlTag

getHref

public String getHref()

setHref

public void setHref(String href)

getOnclick

public String getOnclick()

setOnclick

public void setOnclick(String onclick)


Copyright © 2013–2014 Dandelion Project. All rights reserved.