Class Text


  extended by Object
      extended by Component
          extended by Text
Direct Known Subclasses:
Input

public class Text
extends Component

Text component shows multiple lines of text. Text is wrapped to several lines as needed.

Text has following special style customizations:


Constructor Summary
Text(Style style, String text)
          Constructs a new Text component.
 
Method Summary
 
Methods inherited from class Component
add, appendText, clear, find, first, get, getAction, getData, getElement, getFlags, getImage, getLocation, getParent, getShell, getSize, getStyle, getText, getViewPort, hasLinefeed, indexOf, insert, isFocusable, isShown, isVisible, isWrapping, last, operator_get, operator_set, remove, remove, repaint, set, setAction, setData, setElement, setFlags, setImage, setLocation, setPreferredHeight, setPreferredSize, setPreferredWidth, setStyle, setText, size
 
Methods inherited from class Object
toString, equals, hashCode
 
Methods inherited from
equals, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text

public Text(Style style,
            String text)
Constructs a new Text component.

Parameters:
style - Style to use
text - Text to use