de.matthiasmann.twl.textarea
Class TextAreaModel.LinkElement

java.lang.Object
  extended by de.matthiasmann.twl.textarea.TextAreaModel.Element
      extended by de.matthiasmann.twl.textarea.TextAreaModel.ContainerElement
          extended by de.matthiasmann.twl.textarea.TextAreaModel.LinkElement
All Implemented Interfaces:
java.lang.Iterable<TextAreaModel.Element>
Enclosing interface:
TextAreaModel

public static class TextAreaModel.LinkElement
extends TextAreaModel.ContainerElement


Field Summary
 
Fields inherited from class de.matthiasmann.twl.textarea.TextAreaModel.ContainerElement
children
 
Constructor Summary
TextAreaModel.LinkElement(Style style, java.lang.String href)
           
 
Method Summary
 java.lang.String getHREF()
          Returns the href of the link.
 void setHREF(java.lang.String href)
          Replaces the href of this link.
 
Methods inherited from class de.matthiasmann.twl.textarea.TextAreaModel.ContainerElement
add, getElement, getNumElements, iterator
 
Methods inherited from class de.matthiasmann.twl.textarea.TextAreaModel.Element
getStyle, setStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAreaModel.LinkElement

public TextAreaModel.LinkElement(Style style,
                                 java.lang.String href)
Method Detail

getHREF

public java.lang.String getHREF()
Returns the href of the link.

Returns:
the href of the link. Can be null.

setHREF

public void setHREF(java.lang.String href)
Replaces the href of this link. This method does not cause the model callback to be fired.

Parameters:
href - the new href of the link, can be null.