|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.gui.AbstractComponent
com.groiss.gui.component.Text
public class Text
A HTML span element.
| Field Summary |
|---|
| Fields inherited from class com.groiss.gui.AbstractComponent |
|---|
actions, ACTIVE, browserMode, DEFAULT, ID, IE, INVISIBLE, isSensitive, label, NS, ON_BLUR, ON_CHANGE, ON_CLICK, ON_DBLCLICK, ON_FOCUS, ON_KEY_DOWN, ON_KEY_PRESS, ON_KEY_UP, ON_LOAD, ON_MOUSE_DOWN, ON_MOUSE_MOVE, ON_MOUSE_OUT, ON_MOUSE_UP, ON_RESET, ON_SELECT, ON_SUBMIT, ON_UNLOAD, outputter, parent, parentElem, READONLY, root, viewMode |
| Constructor Summary | |
|---|---|
Text()
Constructs a new empty text component |
|
Text(String text)
Constructs a new empty text component |
|
Text(String id,
String text)
Constructor with id and containing text |
|
Text(String id,
String text,
String styleClass)
Constructor with id and containing text |
|
| Method Summary | |
|---|---|
Object |
getContent()
|
String |
getText()
|
void |
setContent(Object o)
sets the content of the component |
void |
setText(String text)
sets the text |
| Methods inherited from class com.groiss.gui.AbstractComponent |
|---|
clone, create, getActionListener, getAttribute, getBrowserMode, getId, getLabel, getName, getParent, getParentElement, getRoot, getRootName, getStyle, getViewMode, init, init, init, removeAttribute, setActionListener, setAttribute, setBrowserMode, setEncoding, setExpandEmptyElements, setId, setIndenting, setLabel, setName, setNewLines, setParent, setParentElement, setRootName, setStyle, setViewMode, show, show, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Text()
public Text(String text)
public Text(String id,
String text)
text - - the text of the paragraph
public Text(String id,
String text,
String styleClass)
text - - the text of the paragraphstyleClass - the name of a CSS class| Method Detail |
|---|
public void setText(String text)
text - - the text Stringpublic String getText()
public void setContent(Object o)
setContent in interface ComponentsetContent in class AbstractComponento - any object where the string representation is used for renderingpublic Object getContent()
getContent in interface ComponentgetContent in class AbstractComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||