|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.doui.render.CharSequenceRenderableWrapper
@StableMinor(version="6.2", sinceVersion="4.0") public class CharSequenceRenderableWrapper
Wraps a CharSequence
and IRenderable
instances into an object
that implements both interfaces.
Field Summary | |
---|---|
protected CharSequence |
charSequence
The wrapped CharSequence object. |
protected IRenderable |
renderable
The wrapped IRenderable object. |
Constructor Summary | |
---|---|
protected |
CharSequenceRenderableWrapper(CharSequence charSequence)
|
|
CharSequenceRenderableWrapper(CharSequence charSequence,
IRenderable renderable)
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected CharSequence charSequence
CharSequence
object.
protected IRenderable renderable
IRenderable
object.
Constructor Detail |
---|
public CharSequenceRenderableWrapper(CharSequence charSequence, IRenderable renderable)
protected CharSequenceRenderableWrapper(CharSequence charSequence)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |