de.matthiasmann.twl.textarea
Class TextAreaModel.ImageElement

java.lang.Object
  extended by de.matthiasmann.twl.textarea.TextAreaModel.Element
      extended by de.matthiasmann.twl.textarea.TextAreaModel.ImageElement
Enclosing interface:
TextAreaModel

public static class TextAreaModel.ImageElement
extends TextAreaModel.Element


Constructor Summary
TextAreaModel.ImageElement(Style style, java.lang.String imageName)
           
TextAreaModel.ImageElement(Style style, java.lang.String imageName, java.lang.String tooltip)
           
 
Method Summary
 java.lang.String getImageName()
          Returns the image name for this image element.
 java.lang.String getToolTip()
          Returns the tooltip or null for this image.
 
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.ImageElement

public TextAreaModel.ImageElement(Style style,
                                  java.lang.String imageName,
                                  java.lang.String tooltip)

TextAreaModel.ImageElement

public TextAreaModel.ImageElement(Style style,
                                  java.lang.String imageName)
Method Detail

getImageName

public java.lang.String getImageName()
Returns the image name for this image element.

Returns:
the image name for this image element.

getToolTip

public java.lang.String getToolTip()
Returns the tooltip or null for this image.

Returns:
the tooltip or null for this image. Can be null.