|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.Component
echopointng.DirectHtml
public class DirectHtml
DirectHtml is a very lightweight component that will insert
HTML text directly onto the client. Unlike TemplatePanel, this component will
NOT validate this HTML text nor will it parse the source HTML and perform
component or text substiutions.
This makes it more lightweight than TemplatePanel but far less functional
NOTE : The base nextapp.echo2.app.Component properties such as
background, foreground and font are NOT applied to this component. You
must implement this in the HTML text itself.
Also be careful of your use of id attributes as they may clash with Echo2 generated ones.
| Field Summary | |
|---|---|
static java.lang.String |
PROPERTY_TEXT
|
| Constructor Summary | |
|---|---|
DirectHtml()
Constructs a DirectHtml |
|
DirectHtml(java.lang.String htmlText)
Constructs a DirectHtml using the given htmlText. |
|
| Method Summary | |
|---|---|
java.lang.String |
getText()
Returns the HTML text to be sent down to the client browser |
void |
setText(java.lang.String newValue)
Sets the HTML text to be sent down to the client browser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROPERTY_TEXT
| Constructor Detail |
|---|
public DirectHtml()
DirectHtml
public DirectHtml(java.lang.String htmlText)
DirectHtml using the given htmlText.
htmlText - -
the HTML to use| Method Detail |
|---|
public java.lang.String getText()
public void setText(java.lang.String newValue)
newValue - -
the HTML text to be sent down to the client browser
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||