public class IlxWTextElement extends IlxWComponent
IlxWComponent.DynamicStyleMaplistenerList| Constructor and Description |
|---|
IlxWTextElement()
Constructs an empty text element.
|
IlxWTextElement(java.lang.String text)
Constructs a text element with the given text.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText()
Gets the text of this component.
|
protected void |
printComponent(IlxWPort port)
Prints the HTML code that will display the graphical
representation of this component.
|
void |
setText(java.lang.String text)
Sets the text of this component.
|
addPropertyChangeListener, addPropertyChangeListener, detach, doPrint, firePropertyChange, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, notifyDependencies, print, removePropertyChangeListener, removePropertyChangeListener, setName, validateadd, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, getUserAgentRules, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizerpublic IlxWTextElement()
public IlxWTextElement(java.lang.String text)
text - any string.public void setText(java.lang.String text)
getStyle().set("text", text)text - a string. If null, removes the text style from
the dynamic style object.public java.lang.String getText()
getStyle().get("text")protected void printComponent(IlxWPort port) throws java.io.IOException
IlxWComponentIlxWComponent.print(ilog.webui.dhtml.IlxWPort) method.printComponent in class IlxWComponentjava.io.IOExceptionport - The port on which the component will be printed.IlxWComponent.print(ilog.webui.dhtml.IlxWPort)© Copyright IBM Corp. 1987, 2017