@StableMinor(version="12.0", sinceVersion="4.0") public class CharSequenceRenderableWrapper extends Object implements CharSequence, IRenderable
CharSequence
and IRenderable
instances into an object
that implements both interfaces.Modifier and Type | Field and Description |
---|---|
protected CharSequence |
charSequence
The wrapped
CharSequence object. |
protected IRenderable |
renderable
The wrapped
IRenderable object. |
Modifier | Constructor and Description |
---|---|
protected |
CharSequenceRenderableWrapper(CharSequence charSequence) |
|
CharSequenceRenderableWrapper(CharSequence charSequence,
IRenderable renderable) |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
String |
getDisplayString(IRenderer renderer)
Returns the string to be displayed for representing this instance, when
a short display is required.
|
String |
getRenderData(IRenderer renderer)
Returns the data of this object in a standard xml format.
|
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
chars, codePoints
protected CharSequence charSequence
CharSequence
object.protected IRenderable renderable
IRenderable
object.public CharSequenceRenderableWrapper(CharSequence charSequence, IRenderable renderable)
protected CharSequenceRenderableWrapper(CharSequence charSequence)
public char charAt(int index)
charAt
in interface CharSequence
public int length()
length
in interface CharSequence
public CharSequence subSequence(int start, int end)
subSequence
in interface CharSequence
public String toString()
toString
in interface CharSequence
toString
in class Object
public String getRenderData(IRenderer renderer) throws PortalException
IRenderable
getRenderData
in interface IRenderable
renderer
- the renderer object that will use the returned render data.PortalException
public String getDisplayString(IRenderer renderer) throws PortalException
IRenderable
getDisplayString
in interface IRenderable
renderer
- the renderer object that will use the returned render data.PortalException
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.