|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.component.util.descriptors.LayoutElementBase
com.sun.rave.web.ui.component.util.descriptors.LayoutStaticText
public class LayoutStaticText
This class defines a LayoutStaticText. A LayoutStaticText describes a
text to be output to the screen. This element is NOT a
UIComponent
.
Field Summary |
---|
Fields inherited from class com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase |
---|
AFTER_ENCODE, BEFORE_ENCODE, ENCODE |
Constructor Summary | |
---|---|
LayoutStaticText(LayoutElement parent,
java.lang.String id,
java.lang.String value)
Constructor. |
Method Summary | |
---|---|
protected boolean |
encodeThis(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
This method displays the text described by this component. |
java.lang.String |
getValue()
|
Methods inherited from class com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase |
---|
addChildLayoutElement, createHandlerContext, dispatchHandlers, dispatchHandlers, encode, encodeChild, getChildLayoutElements, getHandlers, getHandlers, getHandlersByTypeMap, getId, getLayoutDefinition, getParent, getUnevaluatedId, resolveValue, setHandlers, setHandlersByTypeMap, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.rave.web.ui.component.util.descriptors.LayoutElement |
---|
addChildLayoutElement, dispatchHandlers, dispatchHandlers, encode, getChildLayoutElements, getHandlers, getId, getLayoutDefinition, getParent, getUnevaluatedId, setHandlers |
Constructor Detail |
---|
public LayoutStaticText(LayoutElement parent, java.lang.String id, java.lang.String value)
Constructor.
Method Detail |
---|
public java.lang.String getValue()
protected boolean encodeThis(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
This method displays the text described by this component. If the text includes an EL expression, it will be evaluated. It returns false to avoid attempting to render children.
encodeThis
in class LayoutElementBase
context
- The FacesContext
component
- The UIComponent
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |