|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.html.InsertText
public abstract class InsertText
Inserts formatted text (possibly collected using a
TextArea
component. [Component Reference]
To maintain the line breaks provided originally, this component will break the input into individual lines and insert additional HTML to make each line seperate.
This can be down more simply, using the <pre> HTML element, but that usually renders the text in a non-proportional font.
Field Summary |
---|
Fields inherited from class org.apache.tapestry.AbstractComponent |
---|
_body, _bodyCount |
Constructor Summary | |
---|---|
InsertText()
|
Method Summary | |
---|---|
protected void |
finishLoad()
Sets the mode parameter property to its default, InsertTextMode.BREAK . |
abstract InsertTextMode |
getMode()
Parameter. |
abstract boolean |
getRaw()
Parameter. |
abstract String |
getValue()
Parameter. |
protected void |
renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Invoked by AbstractComponent.render(IMarkupWriter, IRequestCycle) to actually render the component
(with any parameter values already set). |
abstract void |
setMode(InsertTextMode mode)
|
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
---|
getLocation, setLocation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.hivemind.LocationHolder |
---|
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
---|
getLocation |
Constructor Detail |
---|
public InsertText()
Method Detail |
---|
protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
AbstractComponent
AbstractComponent.render(IMarkupWriter, IRequestCycle)
to actually render the component
(with any parameter values already set). This is the method that subclasses must implement.
renderComponent
in class AbstractComponent
public abstract InsertTextMode getMode()
public abstract void setMode(InsertTextMode mode)
public abstract String getValue()
public abstract boolean getRaw()
protected void finishLoad()
InsertTextMode.BREAK
.
finishLoad
in class AbstractComponent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |