Copyright 2002 by aragost

com.aragost.html
Class Text

java.lang.Object
  |
  +--com.aragost.html.Element
        |
        +--com.aragost.html.Text

public class Text
extends Element


Constructor Summary
Text(java.lang.String text)
          Creates new Text
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getText()
          Getter for property text.
 int hashCode()
           
 boolean isBold()
          Getter for property bold.
 boolean isPreFormatted()
           
 void setBold(boolean bold)
          Setter for property bold.
 void setPreFormated(boolean flag)
           
 void setText(java.lang.String text)
          Setter for property text.
 void writeTo(HtmlWriter writer)
           
 
Methods inherited from class com.aragost.html.Element
isCellLike, isNowrap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text

public Text(java.lang.String text)
Creates new Text

Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

writeTo

public void writeTo(HtmlWriter writer)
Specified by:
writeTo in class Element

isPreFormatted

public boolean isPreFormatted()

setPreFormated

public void setPreFormated(boolean flag)

isBold

public boolean isBold()
Getter for property bold.

Returns:
Value of property bold.

setBold

public void setBold(boolean bold)
Setter for property bold.

Parameters:
bold - New value of property bold.

getText

public java.lang.String getText()
Getter for property text.

Returns:
Value of property text.

setText

public void setText(java.lang.String text)
Setter for property text.

Parameters:
text - New value of property text.

Copyright 2002 by aragost