de.matthiasmann.twl.textarea
Class TextAreaModel.Element

java.lang.Object
  extended by de.matthiasmann.twl.textarea.TextAreaModel.Element
Direct Known Subclasses:
TextAreaModel.ContainerElement, TextAreaModel.ImageElement, TextAreaModel.LineBreakElement, TextAreaModel.TableElement, TextAreaModel.TextElement, TextAreaModel.WidgetElement
Enclosing interface:
TextAreaModel

public abstract static class TextAreaModel.Element
extends java.lang.Object


Constructor Summary
protected TextAreaModel.Element(Style style)
           
 
Method Summary
 Style getStyle()
          Returns the style associated with this element
 void setStyle(Style style)
          Replaces the style associated with this element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAreaModel.Element

protected TextAreaModel.Element(Style style)
Method Detail

getStyle

public Style getStyle()
Returns the style associated with this element

Returns:
the style associated with this element

setStyle

public void setStyle(Style style)
Replaces the style associated with this element. This method does not cause the model callback to be fired.

Parameters:
style - the new style. Must not be null.