org.formaria.swt
Class TextArea

java.lang.Object
  extended by Text
      extended by org.formaria.swt.TextArea
All Implemented Interfaces:
TextHolder

public class TextArea
extends Text
implements TextHolder

A wrapper for the JTextArea class

Copyright (c) Formaria Ltd., 2008
License: see license.txt


Constructor Summary
TextArea(java.lang.Object parent)
          Create a new text area
 
Method Summary
protected  void checkSubclass()
          Suppress the subclassing exception
 java.lang.String getToolTip()
          Get the tooltip text
 void setText(java.lang.String text)
          Set the text
 void setToolTip(java.lang.String text)
          Set the tooltip text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.formaria.aria.TextHolder
getText
 

Constructor Detail

TextArea

public TextArea(java.lang.Object parent)
Create a new text area

Parameters:
parent - parent object
Method Detail

checkSubclass

protected void checkSubclass()
Suppress the subclassing exception


setText

public void setText(java.lang.String text)
Set the text

Specified by:
setText in interface TextHolder
Parameters:
text - the new text

setToolTip

public void setToolTip(java.lang.String text)
Set the tooltip text

Parameters:
text - the new text

getToolTip

public java.lang.String getToolTip()
Get the tooltip text

Returns:
the existing text if any